mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 01:29:09 +00:00
start redoing ci/cd and devops
This commit is contained in:
parent
460770407a
commit
ab9fe30b42
37 changed files with 418 additions and 825 deletions
|
@ -2,7 +2,7 @@ const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
|||
const { compilerOptions } = require('./tsconfig.json');
|
||||
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
preset: 'ts-jest/presets/js-with-babel',
|
||||
testEnvironment: 'enzyme',
|
||||
reporters: ['default'],
|
||||
setupFilesAfterEnv: ['jest-enzyme', 'jest-styled-components', './hack/jestSetup.ts'],
|
||||
|
@ -10,4 +10,9 @@ module.exports = {
|
|||
prefix: '<rootDir>/',
|
||||
}),
|
||||
snapshotSerializers: ['enzyme-to-json/serializer'],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: './tsconfig.test.json',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue