Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #881 from sociomantic-tsunami/Issue-880-RemoveAllT…
Browse files Browse the repository at this point in the history
…ests

Remove all tests #880
  • Loading branch information
daniel-martic-sociomantic authored Feb 18, 2019
2 parents 97d8fc6 + e5ead08 commit 6c53a9c
Show file tree
Hide file tree
Showing 60 changed files with 42 additions and 10,618 deletions.
11 changes: 0 additions & 11 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,6 @@
],
"valid-typeof" : "error"
},
"globals" : {
"after" : true,
"afterEach" : true,
"before" : true,
"beforeEach" : true,
"describe" : true,
"expect" : true,
"fetch" : true,
"test" : true,
"jest" : true
},
"plugins" : [
"arca",
"compat",
Expand Down
1 change: 0 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"scripts" : {
"beforeStart" : "yarn test",
"beforeBump" : "yarn build"
}
}
23 changes: 0 additions & 23 deletions cfg/dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ const distConfig = merge( {}, baseConfig, {
'commonjs2' : 'react-popper',
'window' : 'ReactPopper',
},
componentDriver : {
commonjs : 'nessie-ui/dist/componentDriver',
commonjs2 : 'nessie-ui/dist/componentDriver',
window : 'ComponentDriver',
},
lodash : {
'commonjs' : 'lodash',
'commonjs2' : 'lodash',
Expand Down Expand Up @@ -79,11 +74,6 @@ components.module.rules[ 1 ].use[ 0 ] = {
},
};

const componentDriver = merge( {}, distConfig, {
entry : path.join( __dirname, '../src/Testing/index.js' ),
output : { filename: 'componentDriver.js' },
} );

const componentsJS = merge( {}, distConfig, {
entry : path.join( __dirname, '../src/index.js' ),
output : { filename: 'componentsJS.js' },
Expand All @@ -95,21 +85,8 @@ const componentsJS = merge( {}, distConfig, {
],
} );

const driverSuite = merge( {}, distConfig, {
entry : path.join( __dirname, '../src/drivers.js' ),
output : { filename: 'driverSuite.js' },
plugins : [
new MiniCssExtractPlugin( {
allChunks : true,
filename : 'driverSuite.css',
} ),
],
} );


module.exports = [
componentDriver,
components,
componentsJS,
driverSuite,
];
60 changes: 0 additions & 60 deletions cfg/jest.config.js

This file was deleted.

8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"loch-ness:clean": "rimraf .lochness",
"loch-ness": "loch --libName=Nessie --lib=./ --dist=./dist/index.dev.js",
"start": "yarn loch-ness:build && concurrently --kill-others \"yarn webpack:dev-watch\" \"yarn loch-ness\"",
"test:watch": "jest --watch --config=cfg/jest.config.js",
"test": "jest --maxWorkers=4 --config=cfg/jest.config.js",
"webpack:dev-watch": "webpack --env=dev --watch",
"webpack:dev": "webpack --env=dev",
"webpack:dist-watch": "webpack --env=dist --watch",
Expand Down Expand Up @@ -62,15 +60,12 @@
"autoprefixer": "^9.4.7",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"classnames": "^2.2.6",
"concurrently": "^4.1.0",
"css-loader": "^2.1.0",
"cssnano": "^4.1.8",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.9.1",
"eslint": "^5.13.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-formatter-pretty": "^2.1.1",
Expand All @@ -81,8 +76,6 @@
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.1.0",
"loch-ness": "3.0.0-alpha.3",
"mini-css-extract-plugin": "^0.5.0",
"postcss": "^7.0.13",
Expand All @@ -107,7 +100,6 @@
"prop-types": "^15.5.8",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-test-renderer": "^16.8.1",
"release-it": "^10.1.0",
"replace": "^1.0.1",
"rimraf": "^2.6.3",
Expand Down
102 changes: 0 additions & 102 deletions src/Button/driver.js

This file was deleted.

Loading

0 comments on commit 6c53a9c

Please sign in to comment.