Skip to content

Commit 0540675

Browse files
committed
remove test related scripts/ files
1 parent a7d64db commit 0540675

File tree

14 files changed

+2
-54442
lines changed

14 files changed

+2
-54442
lines changed

package.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
},
2424
"scripts": {
2525
"storybook": "start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook",
26-
"test": "run-s test:jest test:storyshots",
27-
"test:storyshots": "NODE_ENV=test jest test/storyshots/*.test.js",
28-
"test:jest": "jest test/*-spec.tsx",
29-
"pretest:visual": "STORYBOOK_MODE=visual-test storycap --serverCmd \"npm run storybook -- --ci\" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 2000",
26+
"test": "echo \"no test to run\"",
27+
"pretest:visual": "storycap --serverCmd \"npm run storybook -- --ci\" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 2000",
3028
"test:visual": "reg-suit -v run",
3129
"type-check": "tsc --noEmit",
3230
"type-check:watch": "npm run type-check -- --watch",
@@ -105,15 +103,5 @@
105103
},
106104
"resolutions": {
107105
"@types/react": "^16.8.12"
108-
},
109-
"jest": {
110-
"testRegex": "(/test/.*|\\.(test|spec))\\.(js|tsx)$",
111-
"setupFilesAfterEnv": [
112-
"<rootDir>/test/setupTests.js"
113-
],
114-
"collectCoverage": true,
115-
"moduleNameMapper": {
116-
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
117-
}
118106
}
119107
}

test/.eslintrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/__mocks__/styleMock.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/badge-spec.tsx

Lines changed: 0 additions & 29 deletions
This file was deleted.

test/breadcrumbs-spec.tsx

Lines changed: 0 additions & 65 deletions
This file was deleted.

test/button-spec.tsx

Lines changed: 0 additions & 148 deletions
This file was deleted.

test/form-spec.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/icon-spec.tsx

Lines changed: 0 additions & 47 deletions
This file was deleted.

test/notification-spec.tsx

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)