Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / testdouble/testdouble.js issues and pull requests

#525 - replaceEsm breaks in node20 when other loaders are used

Issue - State: open - Opened by jalfd 5 months ago

#524 - replaceEsm behaviour

Issue - State: closed - Opened by hmeerlo 6 months ago - 1 comment

#523 - Fix thenReject and thenThrow types

Pull Request - State: closed - Opened by jthieman 8 months ago

#522 - Don't use Node.js version number to determine loader capabilities

Pull Request - State: closed - Opened by giltayar 8 months ago

#521 - Add "list replaced modules"

Pull Request - State: closed - Opened by giltayar 9 months ago - 1 comment

#520 - Feature request: reset specific module(s)

Issue - State: open - Opened by JakobJingleheimer 9 months ago - 1 comment

#519 - Get list of mocked modules

Issue - State: closed - Opened by JakobJingleheimer 9 months ago - 7 comments

#518 - Where is changelog for 3.19.0

Issue - State: open - Opened by stoivo 9 months ago - 2 comments

#517 - make Node 20.6.0 auto register _really_ work

Pull Request - State: closed - Opened by giltayar 10 months ago

#516 - support Node v20.6.0 ability to auto-register loader

Pull Request - State: closed - Opened by giltayar 10 months ago

#515 - feat(types): add "version" export to type declaration

Pull Request - State: closed - Opened by jsejcksn about 1 year ago - 1 comment

#513 - Incompatibility with node v20.0.0

Issue - State: closed - Opened by stixx200 about 1 year ago - 2 comments

#512 - How to call-through original function?

Issue - State: closed - Opened by aytekin-smartcar about 1 year ago - 1 comment

#511 - make `thenThrow` and `thenReject` accept values of `any` type

Pull Request - State: closed - Opened by iliocatallo over 1 year ago - 1 comment

#510 - Consider relaxing `thenReject` to accept types other than `Error`

Issue - State: open - Opened by iliocatallo over 1 year ago - 2 comments

#509 - add missing function alias for ES module

Pull Request - State: closed - Opened by Trim over 1 year ago - 1 comment

#508 - Replace usage of global with globalThis for better browser support

Pull Request - State: closed - Opened by maxbeatty over 1 year ago - 1 comment

#507 - td.replaceEsm() but mocking a global in that module only

Issue - State: closed - Opened by rickmed over 1 year ago - 2 comments

#506 - ci: improve Windows support

Pull Request - State: closed - Opened by webstech over 1 year ago - 4 comments

#505 - Add windows to the build

Pull Request - State: closed - Opened by searls over 1 year ago - 3 comments

#504 - add documentation for td.replaceEsm API

Pull Request - State: closed - Opened by Trim over 1 year ago - 1 comment

#503 - fix manual replacement in node-esm examples

Pull Request - State: closed - Opened by Trim over 1 year ago - 2 comments

#502 - td.replace support for constructors?

Issue - State: closed - Opened by haihovu over 1 year ago - 2 comments

#501 - docs: add testdouble-vitest links to docs

Pull Request - State: closed - Opened by mcous over 1 year ago - 1 comment

#500 - fix: replaceEsm typings

Pull Request - State: closed - Opened by quinnturner over 1 year ago - 3 comments

#499 - Improve replace typings

Pull Request - State: closed - Opened by asdftd over 1 year ago - 3 comments

#498 - Importing a mocked ESM module dynamically will throw an error in node 16.17.0

Issue - State: closed - Opened by adamraine almost 2 years ago - 3 comments

#495 - ES module replacement changed in Node 18.6

Issue - State: closed - Opened by tari almost 2 years ago - 5 comments

#494 - Trying to use testdouble in @web/test-runner fails with error about quibble

Issue - State: open - Opened by superchris almost 2 years ago - 1 comment

#493 - ESM test regression when run under [email protected]

Issue - State: closed - Opened by searls almost 2 years ago - 4 comments

#492 - es module cache is broken by testdouble loader / quibble

Issue - State: closed - Opened by connorjclark almost 2 years ago - 12 comments

#491 - replaceEsm not working on windows

Issue - State: closed - Opened by connorjclark almost 2 years ago - 5 comments

#490 - Add `types` export condition

Pull Request - State: closed - Opened by alexlafroscia about 2 years ago - 4 comments

#489 - Modules getting picked from cache

Issue - State: closed - Opened by ankitkhedekar about 2 years ago - 1 comment

#488 - `replaceEsm` breaks usage of mongo db

Issue - State: open - Opened by paymog about 2 years ago - 2 comments

#487 - Can't use testdouble loader with mocha and typescript

Issue - State: closed - Opened by paymog about 2 years ago - 2 comments

#486 - Stubbed function not invoked

Issue - State: closed - Opened by benhowdle89 about 2 years ago

#485 - Mocking dependency module class, constructor and it's methods (ESM/Typescript)

Issue - State: closed - Opened by ukuhnhardt about 2 years ago - 1 comment

#484 - Support td.replace for Vitest

Issue - State: closed - Opened by nullpaper about 2 years ago - 6 comments

#483 - Calling verify on rejected function fails test

Issue - State: closed - Opened by JuanCaicedo about 2 years ago - 4 comments

#482 - How to properly create object for testing?

Issue - State: closed - Opened by JuanCaicedo over 2 years ago - 5 comments

#481 - Add `thenReturn` to `PromiseStubber` type declaration

Pull Request - State: closed - Opened by johnbotris over 2 years ago - 5 comments

#480 - Using td.replaceEsm() in a TypeScript project

Issue - State: closed - Opened by beyerleinf over 2 years ago - 6 comments

#479 - Testdouble third-party-test-thing with ESM module based tests using Mocha

Issue - State: closed - Opened by ghinks over 2 years ago - 12 comments

#478 - Stubbing sequential promise results

Issue - State: closed - Opened by billtong over 2 years ago - 7 comments

#477 - --loader=testdouble causes ERR_UNKNOWN_FILE_EXTENSION

Issue - State: closed - Opened by didiercolens over 2 years ago - 2 comments

#476 - No way to stub private module functions with test double

Issue - State: closed - Opened by kapalkat over 2 years ago - 2 comments

#475 - td.replaceEsm() without namedExportStubs throws weird error under windows

Issue - State: open - Opened by jishi over 2 years ago - 11 comments

#474 - replaceEsm may not be working on Node v16.12

Issue - State: closed - Opened by searls over 2 years ago
Labels: bug

#473 - td.reset() does not reset all replaced modules

Issue - State: closed - Opened by qswinson over 2 years ago - 3 comments

#472 - Swap global for globalThis

Pull Request - State: closed - Opened by NullVoxPopuli over 2 years ago - 4 comments

#471 - Switch global to globalThis

Issue - State: closed - Opened by NullVoxPopuli over 2 years ago - 2 comments

#470 - Unable to use testdouble loader with Jest

Issue - State: closed - Opened by PamMarieGx almost 3 years ago - 5 comments

#469 - Graciously fall back from failed cloneDeep

Pull Request - State: closed - Opened by monovertex almost 3 years ago - 2 comments

#468 - td.replaceEsm() multiple replaces not working

Issue - State: closed - Opened by IamGeoffrey almost 3 years ago - 4 comments

#467 - Specification for sorting td.when matches and picking the narrowest matching one

Issue - State: closed - Opened by woldie almost 3 years ago - 3 comments

#466 - docs: fix link to `testdouble-qunit` plugin

Pull Request - State: closed - Opened by alexlafroscia about 3 years ago - 1 comment

#465 - test:esm is failing

Issue - State: closed - Opened by searls about 3 years ago - 3 comments

#464 - Provide module namespace

Pull Request - State: closed - Opened by rene-leanix about 3 years ago - 1 comment

#463 - foo

Pull Request - State: closed - Opened by jasonkarns about 3 years ago - 1 comment

#462 - master -> main

Pull Request - State: closed - Opened by rosston about 3 years ago - 1 comment

#461 - Remove warning about verifying stubbed functions

Issue - State: closed - Opened by haikyuu over 3 years ago - 2 comments

#460 - How to ensure that a function was called once and only once in typescript

Issue - State: closed - Opened by vpillinger over 3 years ago - 1 comment

#459 - using td.object resolves in SyntaxError: Unexpected identifier

Issue - State: closed - Opened by lavor over 3 years ago - 3 comments

#458 - Fix Typo in Replacing Dependencies Docs

Pull Request - State: closed - Opened by conradbeach over 3 years ago

#456 - Fix Incorrect Formatting in Docs

Pull Request - State: closed - Opened by conradbeach over 3 years ago - 1 comment

#455 - Importing testdouble as an ES6 module

Issue - State: closed - Opened by marktyers over 3 years ago - 1 comment

#454 - Easier on readers when following links

Pull Request - State: closed - Opened by rhettc over 3 years ago - 1 comment

#453 - allow to disable the stubbing and verifying warning

Issue - State: closed - Opened by luxzeitlos almost 4 years ago - 1 comment

#452 - fix NODE_OPTIONS example to specify the loader

Pull Request - State: closed - Opened by luxzeitlos almost 4 years ago - 1 comment

#451 - does `replaceEsm` support npm dependencies

Issue - State: closed - Opened by luxzeitlos almost 4 years ago - 3 comments

#450 - TypeError thrown when attempting to td.replace a getter property

Issue - State: closed - Opened by gurpreetatwal almost 4 years ago - 5 comments

#449 - docs: add `testdouble-qunit` to Plugins list

Pull Request - State: closed - Opened by alexlafroscia almost 4 years ago - 1 comment

#448 - Add td.instance()

Pull Request - State: closed - Opened by woldie about 4 years ago - 5 comments

#447 - Add td.instance(constructorFtn)?

Issue - State: closed - Opened by woldie about 4 years ago - 5 comments

#446 - Changelog out of date

Issue - State: closed - Opened by NullVoxPopuli about 4 years ago - 1 comment

#445 - ESM support

Pull Request - State: closed - Opened by giltayar about 4 years ago - 6 comments

#444 - "RangeError: Invalid time value" with Invalid Date

Issue - State: closed - Opened by alexbepple about 4 years ago - 6 comments

#443 - Adding Node-native ES Modules support

Issue - State: closed - Opened by giltayar about 4 years ago - 2 comments

#442 - Could you make td.when() support a Strict Mode?

Issue - State: closed - Opened by klondikemarlen about 4 years ago - 2 comments

#441 - How to setup a TypeScript test with Jest?

Issue - State: closed - Opened by Zardddddd60 over 4 years ago - 3 comments

#440 - Cannot run test with joi 17

Issue - State: closed - Opened by cedricVu over 4 years ago - 1 comment

#439 - Changelog is missing entry for v3.13.0

Issue - State: closed - Opened by karfau over 4 years ago - 1 comment

#438 - browser does not have `global` defined. Should this be `globalThis`?

Issue - State: closed - Opened by NullVoxPopuli over 4 years ago - 19 comments

#437 - update td.when types

Pull Request - State: closed - Opened by mohaalak over 4 years ago - 3 comments

#436 - Missing TypeScript declaration for td.matchers.create() added

Pull Request - State: closed - Opened by akloeber over 4 years ago - 5 comments

#435 - td.when return type could be typesafe

Issue - State: closed - Opened by mohaalak over 4 years ago - 18 comments

#434 - Questions: are es6 modules supported?

Issue - State: closed - Opened by goldbergyoni over 4 years ago - 11 comments

#432 - Double Replacement Makes It Impossible to Reset to Original Function

Issue - State: closed - Opened by theodorewahle over 4 years ago - 4 comments

#427 - Fix .verify() and .when() when using testdouble objects as arguments

Pull Request - State: closed - Opened by lumaxis almost 5 years ago - 4 comments

#426 - Failing verification when using td.object() as argument

Issue - State: closed - Opened by lumaxis almost 5 years ago - 3 comments

#424 - Destructuring support fail.

Issue - State: closed - Opened by iamjinme almost 5 years ago - 1 comment

#419 - td.object() cannot be used as an argument inside td.when(...)

Issue - State: closed - Opened by gnicolae14 about 5 years ago - 5 comments

#417 - add cloneArgs option to td.when/td.verify

Pull Request - State: closed - Opened by searls about 5 years ago - 2 comments