declapract-typescript-ehmpathy 0.17.6 → 0.17.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/practices/linting/best-practice/.eslintrc.js +1 -0
- package/dist/practices/testing/best-practice/jest.acceptance.config.ts +1 -1
- package/dist/practices/testing/best-practice/jest.integration.config.ts +1 -1
- package/dist/practices/testing/best-practice/jest.unit.config.ts +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ module.exports = {
|
|
|
39
39
|
'prefer-destructuring': 'off',
|
|
40
40
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
41
41
|
'lines-between-class-members': 'off',
|
|
42
|
+
'@typescript-eslint/lines-between-class-members': 'off',
|
|
42
43
|
'no-return-await': 'off', // this does not help anything and actually leads to bugs if we subsequently wrap the return in a try catch without remembering to _then_ add await
|
|
43
44
|
},
|
|
44
45
|
};
|
|
@@ -6,7 +6,7 @@ const config: Config = {
|
|
|
6
6
|
testEnvironment: 'node',
|
|
7
7
|
moduleFileExtensions: ['js', 'ts'],
|
|
8
8
|
transform: {
|
|
9
|
-
'^.+\\.
|
|
9
|
+
'^.+\\.tsx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
|
|
10
10
|
},
|
|
11
11
|
testMatch: ['**/*.acceptance.test.ts'],
|
|
12
12
|
setupFiles: ['core-js'],
|
|
@@ -6,7 +6,7 @@ const config: Config = {
|
|
|
6
6
|
testEnvironment: 'node',
|
|
7
7
|
moduleFileExtensions: ['js', 'ts'],
|
|
8
8
|
transform: {
|
|
9
|
-
'^.+\\.
|
|
9
|
+
'^.+\\.tsx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
|
|
10
10
|
},
|
|
11
11
|
testMatch: ['**/*.integration.test.ts'],
|
|
12
12
|
setupFiles: ['core-js'],
|
|
@@ -6,7 +6,7 @@ const config: Config = {
|
|
|
6
6
|
testEnvironment: 'node',
|
|
7
7
|
moduleFileExtensions: ['js', 'ts'],
|
|
8
8
|
transform: {
|
|
9
|
-
'^.+\\.
|
|
9
|
+
'^.+\\.tsx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
|
|
10
10
|
},
|
|
11
11
|
testMatch: [
|
|
12
12
|
// note: order matters
|
package/package.json
CHANGED