Skip to content

Commit 238aec6

Browse files
committed
update test folder name
1 parent 2a5e9d8 commit 238aec6

8 files changed

+6
-6
lines changed

jest.config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ const jestConfig: Config.InitialOptions = {
1414
],
1515
coverageDirectory: 'coverage',
1616
coverageProvider: 'v8',
17-
globalSetup: '<rootDir>/tests/jest.globalSetup.ts',
17+
globalSetup: '<rootDir>/test/jest.globalSetup.ts',
1818
moduleDirectories: ['node_modules', '<rootDir>'],
1919
moduleNameMapper: {
2020
'.+\\.css$': 'identity-obj-proxy',
2121
},
22-
roots: ['<rootDir>/tests', '<rootDir>/src'],
23-
setupFilesAfterEnv: ['<rootDir>/tests/jest.setupAfterEnv.ts'],
22+
roots: ['<rootDir>/test', '<rootDir>/src'],
23+
setupFilesAfterEnv: ['<rootDir>/test/jest.setupAfterEnv.ts'],
2424
testEnvironment: 'jsdom',
2525
testPathIgnorePatterns: ['/node_modules/', '/.next/'],
2626
transform: {
2727
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/babel-jest',
28-
'^.+\\.css$': '<rootDir>/tests/css.transform.js',
28+
'^.+\\.css$': '<rootDir>/test/css.transform.js',
2929
},
3030
transformIgnorePatterns: [
3131
'/node_modules/',

src/database/connection.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createTestContext } from 'tests/integration.context';
1+
import { createTestContext } from 'test/integration.context';
22

33
describe('prisma client', () => {
44
const ctx = createTestContext();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"baseUrl": ".",
1717
"paths": {
1818
"src/*": ["src/*"],
19-
"tests/*": ["tests/*"],
19+
"test/*": ["test/*"],
2020
"types/*": [".generated/*", "src/types/*"]
2121
}
2222
},

0 commit comments

Comments
 (0)