remove snapshot testing

This commit is contained in:
Dylan Vorster
2019-07-25 00:44:14 +02:00
parent ea0160cbcf
commit 2c6971be9a
4 changed files with 3 additions and 17752 deletions

View File

@ -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}"
]
};

View File

@ -1,4 +0,0 @@
import initStoryshots from '@storybook/addon-storyshots';
import 'raf/polyfill';
initStoryshots();

View File

@ -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",