├── .gitattributes ├── .github └── workflows │ └── node.js.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── RELEASE.md ├── example-esm ├── .gitignore ├── lib │ ├── animals │ │ ├── bear.mjs │ │ └── lion.mjs │ └── zoo.mjs ├── package-lock.json ├── package.json └── test │ ├── helper.js │ └── lib │ └── zoo-spec.mjs ├── example ├── .gitignore ├── lib │ ├── animals │ │ ├── bear.js │ │ └── lion.js │ └── zoo.js ├── package-lock.json ├── package.json └── test │ ├── helper.js │ └── lib │ └── zoo-spec.js ├── index.d.ts ├── index.js ├── lib ├── canRegisterLoader.js ├── esm-import-functions.js ├── quibble-registered.mjs ├── quibble.js ├── quibble.mjs └── thisWillRunInUserThread.js ├── package.json └── test ├── esm-fixtures ├── a-module-ignored.js ├── a-module-ignored.mjs ├── a-module-with-function.mjs ├── a-module.js ├── a-module.mjs └── b-module.mjs ├── esm-lib ├── quibble-cjs-esmImportWithPath.test.js ├── quibble-cjs.test.js ├── quibble-esm.test.mjs ├── quibble.no-loader-test.js ├── quibble.no-loader-test.mjs ├── supports-auto-load.js └── teenytest-proxy.js ├── fixtures ├── a-function.js ├── a-function.json ├── a-quibble-wrapper.js ├── a-symlinked-function.js ├── b-function.js ├── bomb.js ├── expects-a-quibbling.js ├── node_modules │ └── is-number │ │ ├── index.js │ │ └── package.json ├── quibbles-requires-a-function.js ├── requires-a-function.js └── requires-a-node-module.js ├── helper.js ├── lib ├── a-module-spec.js ├── a-quibble-wrapper-spec.js └── quibble.test.js └── require-smell-test.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/RELEASE.md -------------------------------------------------------------------------------- /example-esm/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /example-esm/lib/animals/bear.mjs: -------------------------------------------------------------------------------- 1 | export default function () { return 'a real bear' } 2 | -------------------------------------------------------------------------------- /example-esm/lib/animals/lion.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example-esm/lib/animals/lion.mjs -------------------------------------------------------------------------------- /example-esm/lib/zoo.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example-esm/lib/zoo.mjs -------------------------------------------------------------------------------- /example-esm/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example-esm/package-lock.json -------------------------------------------------------------------------------- /example-esm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example-esm/package.json -------------------------------------------------------------------------------- /example-esm/test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example-esm/test/helper.js -------------------------------------------------------------------------------- /example-esm/test/lib/zoo-spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example-esm/test/lib/zoo-spec.mjs -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /example/lib/animals/bear.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { return 'a real bear' } 2 | -------------------------------------------------------------------------------- /example/lib/animals/lion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example/lib/animals/lion.js -------------------------------------------------------------------------------- /example/lib/zoo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example/lib/zoo.js -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example/package.json -------------------------------------------------------------------------------- /example/test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example/test/helper.js -------------------------------------------------------------------------------- /example/test/lib/zoo-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/example/test/lib/zoo-spec.js -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/quibble') 2 | -------------------------------------------------------------------------------- /lib/canRegisterLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/lib/canRegisterLoader.js -------------------------------------------------------------------------------- /lib/esm-import-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/lib/esm-import-functions.js -------------------------------------------------------------------------------- /lib/quibble-registered.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/lib/quibble-registered.mjs -------------------------------------------------------------------------------- /lib/quibble.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/lib/quibble.js -------------------------------------------------------------------------------- /lib/quibble.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/lib/quibble.mjs -------------------------------------------------------------------------------- /lib/thisWillRunInUserThread.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/lib/thisWillRunInUserThread.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/package.json -------------------------------------------------------------------------------- /test/esm-fixtures/a-module-ignored.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-fixtures/a-module-ignored.js -------------------------------------------------------------------------------- /test/esm-fixtures/a-module-ignored.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-fixtures/a-module-ignored.mjs -------------------------------------------------------------------------------- /test/esm-fixtures/a-module-with-function.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-fixtures/a-module-with-function.mjs -------------------------------------------------------------------------------- /test/esm-fixtures/a-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-fixtures/a-module.js -------------------------------------------------------------------------------- /test/esm-fixtures/a-module.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-fixtures/a-module.mjs -------------------------------------------------------------------------------- /test/esm-fixtures/b-module.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-fixtures/b-module.mjs -------------------------------------------------------------------------------- /test/esm-lib/quibble-cjs-esmImportWithPath.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/quibble-cjs-esmImportWithPath.test.js -------------------------------------------------------------------------------- /test/esm-lib/quibble-cjs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/quibble-cjs.test.js -------------------------------------------------------------------------------- /test/esm-lib/quibble-esm.test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/quibble-esm.test.mjs -------------------------------------------------------------------------------- /test/esm-lib/quibble.no-loader-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/quibble.no-loader-test.js -------------------------------------------------------------------------------- /test/esm-lib/quibble.no-loader-test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/quibble.no-loader-test.mjs -------------------------------------------------------------------------------- /test/esm-lib/supports-auto-load.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/supports-auto-load.js -------------------------------------------------------------------------------- /test/esm-lib/teenytest-proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/esm-lib/teenytest-proxy.js -------------------------------------------------------------------------------- /test/fixtures/a-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/a-function.js -------------------------------------------------------------------------------- /test/fixtures/a-function.json: -------------------------------------------------------------------------------- 1 | { 2 | "wups" : "lol" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/a-quibble-wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/a-quibble-wrapper.js -------------------------------------------------------------------------------- /test/fixtures/a-symlinked-function.js: -------------------------------------------------------------------------------- 1 | a-function.js -------------------------------------------------------------------------------- /test/fixtures/b-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/b-function.js -------------------------------------------------------------------------------- /test/fixtures/bomb.js: -------------------------------------------------------------------------------- 1 | throw new Error('a bomb') 2 | -------------------------------------------------------------------------------- /test/fixtures/expects-a-quibbling.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/expects-a-quibbling.js -------------------------------------------------------------------------------- /test/fixtures/node_modules/is-number/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/node_modules/is-number/index.js -------------------------------------------------------------------------------- /test/fixtures/node_modules/is-number/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/node_modules/is-number/package.json -------------------------------------------------------------------------------- /test/fixtures/quibbles-requires-a-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/quibbles-requires-a-function.js -------------------------------------------------------------------------------- /test/fixtures/requires-a-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/requires-a-function.js -------------------------------------------------------------------------------- /test/fixtures/requires-a-node-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/fixtures/requires-a-node-module.js -------------------------------------------------------------------------------- /test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/helper.js -------------------------------------------------------------------------------- /test/lib/a-module-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/lib/a-module-spec.js -------------------------------------------------------------------------------- /test/lib/a-quibble-wrapper-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/lib/a-quibble-wrapper-spec.js -------------------------------------------------------------------------------- /test/lib/quibble.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/lib/quibble.test.js -------------------------------------------------------------------------------- /test/require-smell-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/testdouble/quibble/HEAD/test/require-smell-test.sh --------------------------------------------------------------------------------