We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d2b397 commit a3ad30fCopy full SHA for a3ad30f
2 files changed
package.json
@@ -15,7 +15,7 @@
15
"lint": "yarn eslint && yarn prettier",
16
"pretest": "yarn lint",
17
"test": "jest --coverage",
18
- "autotest": "chokidar src/index.js test/test.js -c 'yarn test'",
+ "autotest": "jest --coverage --watch",
19
"cover": "istanbul cover test/index.js",
20
"ci": "yarn pretest && yarn cover",
21
"prepublishOnly": "yarn test"
src/index.js
@@ -137,6 +137,7 @@ module.exports = (options = {}) => {
137
138
if (importsOrder instanceof Error) {
139
const importPath = importsOrder.nodes.find((importPath) =>
140
+ // eslint-disable-next-line no-prototype-builtins
141
importDecls.hasOwnProperty(importPath)
142
);
143
const decl = importDecls[importPath];
0 commit comments