ci: fix dockerfile to copy tests folder

This commit is contained in:
Nicolas Meienberger 2023-06-28 22:44:56 +02:00
parent 0555a7f321
commit f3d3cfac07
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,6 @@ Dockerfile*
# Tipi folder # Tipi folder
logs/ logs/
tests/
state/ state/
templates/ templates/
scripts/ scripts/

View file

@ -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

View file

@ -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: {