Update tests

This commit is contained in:
ajnart
2023-12-31 12:07:39 +01:00
parent eba4dd3b9d
commit a68f8424f5
2 changed files with 28 additions and 7 deletions

View File

@@ -28,6 +28,10 @@ vitest.mock('./../../tools/server/getServerSideTranslations.ts', () => ({
getServerSideTranslations: () => null,
}));
vitest.mock('../../../src/server/api/routers/docker/router.ts', () => ({
dockerRouter: () => null,
}));
describe('[slug] page', () => {
it('getServerSideProps should return not found when no params', async () => {
// arrange