Unverified Commit eb404698 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1936 from hypothesis/remove-browserify-shim

Remove browserify-shim
parents 4bfc9ae7 2d554342
......@@ -25,7 +25,6 @@
"babel-plugin-transform-async-to-promises": "^0.8.6",
"babelify": "^10.0.0",
"browserify": "^16.2.3",
"browserify-shim": "^3.8.12",
"browserify-versionify": "^1.0.6",
"chai": "^4.1.2",
"chance": "^1.0.13",
......@@ -108,7 +107,6 @@
},
"browserify": {
"transform": [
"browserify-shim",
"browserify-versionify",
[
"stringify",
......@@ -124,19 +122,9 @@
]
},
"browser": {
"hammerjs": "./node_modules/hammerjs/hammer.js",
"fetch-mock": "./node_modules/fetch-mock/cjs/client.js",
"jquery": "./node_modules/jquery/dist/jquery.slim.js"
},
"browserify-shim": {
"angular": {
"depends": [
"jquery"
]
},
"hammerjs": "Hammer",
"jquery": "$"
},
"main": "./build/boot.js",
"scripts": {
"build": "cross-env NODE_ENV=production gulp build",
......
......@@ -242,7 +242,7 @@ describe('wrapReactComponent', () => {
const element = createDirective(document, 'parent');
assert.isNull(element[0].querySelector('.click-indicator'));
const btn = element.find('button');
const btn = element.find('button')[0];
btn.click();
// Check that parent component DOM has been updated to reflect new state of
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment