mirror of
https://github.com/meienberger/runtipi.git
synced 2024-08-16 23:50:34 +03:00
ci: fix dockerfile to copy tests folder
This commit is contained in:
parent
0555a7f321
commit
f3d3cfac07
@ -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 New Issue
Block a user