Comparing version 0.6.0 to 0.6.1
{ | ||
"name": "quibble", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Makes it easy to replace require'd dependencies.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/testdouble/quibble", |
@@ -46,2 +46,11 @@ const quibble = require('quibble') | ||
}, | ||
'works for modules that dont exist': async function () { | ||
await quibble.esm('../esm-fixtures/this-module-does-not-exist.mjs', { named: 'named!' }, 'def-export') | ||
const result = await import('../esm-fixtures/this-module-does-not-exist.mjs') | ||
assert.deepEqual({ ...result }, { | ||
default: 'def-export', | ||
named: 'named!' | ||
}) | ||
}, | ||
'ignoreCallsFromThisFile works with ESM': async function () { | ||
@@ -48,0 +57,0 @@ const cjsImporingMjs = require('../esm-fixtures/a-module-ignored') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
203846
4707
0