ci: fix dockerfile to copy tests folder
This commit is contained in:
parent
0555a7f321
commit
f3d3cfac07
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,6 @@ Dockerfile*
|
||||||
|
|
||||||
# Tipi folder
|
# Tipi folder
|
||||||
logs/
|
logs/
|
||||||
tests/
|
|
||||||
state/
|
state/
|
||||||
templates/
|
templates/
|
||||||
scripts/
|
scripts/
|
||||||
|
|
|
@ -23,6 +23,7 @@ COPY ./esbuild.js ./esbuild.js
|
||||||
COPY ./tsconfig.json ./tsconfig.json
|
COPY ./tsconfig.json ./tsconfig.json
|
||||||
COPY ./next.config.mjs ./next.config.mjs
|
COPY ./next.config.mjs ./next.config.mjs
|
||||||
COPY ./public ./public
|
COPY ./public ./public
|
||||||
|
COPY ./tests ./tests
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { redisMock } from '@/tests/mocks/redis';
|
||||||
import { vi } from 'vitest';
|
import { vi } from 'vitest';
|
||||||
import { redisMock } from '../../../tests/mocks/redis';
|
|
||||||
|
|
||||||
vi.mock('../core/Logger', () => ({
|
vi.mock('../core/Logger', () => ({
|
||||||
Logger: {
|
Logger: {
|
||||||
|
|
Loading…
Reference in a new issue