mirror of
https://github.com/projectstorm/react-diagrams.git
synced 2025-08-16 18:15:18 +08:00
remove snapshot testing
This commit is contained in:
@ -2,17 +2,12 @@ const path = require("path");
|
||||
module.exports = {
|
||||
"preset": "jest-puppeteer",
|
||||
transform: {
|
||||
'^.+\\.tsx?$': 'ts-jest',
|
||||
'^.+\\.jsx?$': 'babel-jest'
|
||||
},
|
||||
moduleNameMapper: {
|
||||
"\\.(scss|css|png)$": path.join(__dirname, "tests-e2e", "helpers", "css-mock.js"),
|
||||
'^.+\\.tsx?$': 'ts-jest'
|
||||
},
|
||||
roots:[
|
||||
path.join(__dirname, 'tests-e2e'),
|
||||
path.join(__dirname, 'tests-snapshots')
|
||||
path.join(__dirname, 'tests-e2e')
|
||||
],
|
||||
testMatch: [
|
||||
"**/*\.test\.ts"
|
||||
"**/*\.test\.{ts,tsx}"
|
||||
]
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +0,0 @@
|
||||
import initStoryshots from '@storybook/addon-storyshots';
|
||||
import 'raf/polyfill';
|
||||
|
||||
initStoryshots();
|
@ -43,7 +43,6 @@
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@storybook/addon-actions": "^5.1.9",
|
||||
"@storybook/addon-options": "^5.1.9",
|
||||
"@storybook/addon-storyshots": "^5.1.9",
|
||||
"@storybook/addons": "^5.1.9",
|
||||
"@storybook/react": "^5.1.9",
|
||||
"@storybook/storybook-deployer": "^2.8.1",
|
||||
@ -55,7 +54,6 @@
|
||||
"@types/promise": "^7.1.30",
|
||||
"@types/puppeteer": "^1.12.4",
|
||||
"@types/react": "^16.8.23",
|
||||
"babel-jest": "^24.8.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"closest": "^0.0.1",
|
||||
"copy-webpack-plugin": "^5.0.3",
|
||||
|
Reference in New Issue
Block a user