Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02b3577

Browse files
committed
chore: refatctor to one snapshot file per fixture
1 parent d4703e1 commit 02b3577

File tree

3,268 files changed

+714905
-427715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,268 files changed

+714905
-427715
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ node_modules
22
dist
33
jest.config.js
44
fixtures
5-
shared-fixtures
5+
shared-fixtures/fixtures
66
coverage
77

88
packages/eslint-plugin-tslint/tests

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
**/tests/fixture-project/**/*
33
**/dist
44
**/coverage
5-
**/shared-fixtures
5+
**/shared-fixtures/fixtures/**/*
66
**/tests/integration/fixtures/**/*
77
**/.vscode
88
**/.nyc_output

packages/parser/jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ module.exports = {
55
transform: {
66
'^.+\\.tsx?$': 'ts-jest',
77
},
8-
testRegex: './tests/lib/.+\\.ts$',
8+
testRegex: './tests/.*\\.test\\.ts$',
99
collectCoverage: false,
1010
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}'],
1111
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
1212
coverageReporters: ['text-summary', 'lcov'],
13+
modulePaths: ['<rootDir>/tests/shared-fixtures'],
1314
};

0 commit comments

Comments
 (0)