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
|
||||
logs/
|
||||
tests/
|
||||
state/
|
||||
templates/
|
||||
scripts/
|
||||
|
@ -24,4 +23,4 @@ data/
|
|||
apps/
|
||||
app-data/
|
||||
.github/
|
||||
__mocks__/
|
||||
__mocks__/
|
||||
|
|
|
@ -23,6 +23,7 @@ COPY ./esbuild.js ./esbuild.js
|
|||
COPY ./tsconfig.json ./tsconfig.json
|
||||
COPY ./next.config.mjs ./next.config.mjs
|
||||
COPY ./public ./public
|
||||
COPY ./tests ./tests
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { redisMock } from '@/tests/mocks/redis';
|
||||
import { vi } from 'vitest';
|
||||
import { redisMock } from '../../../tests/mocks/redis';
|
||||
|
||||
vi.mock('../core/Logger', () => ({
|
||||
Logger: {
|
||||
|
|
Loading…
Reference in a new issue