diff --git a/lib-demo-gallery/jest.config.js b/lib-demo-gallery/jest.config.js
index 1fa6de4..4ab794a 100644
--- a/lib-demo-gallery/jest.config.js
+++ b/lib-demo-gallery/jest.config.js
@@ -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}"
]
};
diff --git a/lib-demo-gallery/tests-snapshots/__snapshots__/storybook.test.tsx.snap b/lib-demo-gallery/tests-snapshots/__snapshots__/storybook.test.tsx.snap
deleted file mode 100644
index c5c1408..0000000
--- a/lib-demo-gallery/tests-snapshots/__snapshots__/storybook.test.tsx.snap
+++ /dev/null
@@ -1,17738 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Storyshots 3rd party libraries Auto Distribute (Dagre) 1`] = `
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Advanced Techniques Clone Selected 1`] = `
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Advanced Techniques Drag and drop 1`] = `
-
-
-
- Storm React Diagrams - Demo 5
-
-
-
-
-
- In Node
-
-
- Out Node
-
-
-
-
-
-`;
-
-exports[`Storyshots Advanced Techniques Programatically modifying graph 1`] = `
-
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Advanced Techniques Serializing and de-serializing 1`] = `
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Advanced Techniques Smart routing 1`] = `
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Custom Models Custom animated links 1`] = `
-
-`;
-
-exports[`Storyshots Custom Models Custom diamond node 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Simple Usage Canvas grid size 1`] = `
-
-`;
-
-exports[`Storyshots Simple Usage Events and listeners 1`] = `
-
-
- Click the diagram elements to inspect some of the possible events.
-
-
-
-`;
-
-exports[`Storyshots Simple Usage Limiting link points 1`] = `
-
-
- A maximum of 5 points can be created per link.
-
-
-
-`;
-
-exports[`Storyshots Simple Usage Links with labels 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Node C (no label)
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Simple Usage Locked widget 1`] = `
-
-`;
-
-exports[`Storyshots Simple Usage Performance demo 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`Storyshots Simple Usage Simple example 1`] = `
-
-`;
-
-exports[`Storyshots Simple Usage Simple flow example 1`] = `
-
-`;
-
-exports[`Storyshots Simple Usage Zoom to fit 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
diff --git a/lib-demo-gallery/tests-snapshots/storybook.test.tsx b/lib-demo-gallery/tests-snapshots/storybook.test.tsx
deleted file mode 100644
index 83d36c5..0000000
--- a/lib-demo-gallery/tests-snapshots/storybook.test.tsx
+++ /dev/null
@@ -1,4 +0,0 @@
-import initStoryshots from '@storybook/addon-storyshots';
-import 'raf/polyfill';
-
-initStoryshots();
diff --git a/package.json b/package.json
index fe4d959..e615ad5 100644
--- a/package.json
+++ b/package.json
@@ -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",