forked from testdouble/testdouble.js
Commits
main
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Commits on Nov 16, 2022
Commits on Nov 14, 2022
-
Currently: ```ts // `subscriptions` is `void` const subscriptions = await td.replaceEsm( '../../subscriptions.js', ); ``` Now: ```ts // `subscriptions` is `{ [namedExport: string]: any; default?: any; }` const subscriptions = await td.replaceEsm( '../../subscriptions.js', ); ```
-
-
Commits on Nov 13, 2022
Commits on Oct 25, 2022
Commits on Jun 14, 2022
-
Merge pull request testdouble#490 from alexlafroscia/add-types-for-no…
…denext Add `types` export condition
-
For a TypeScript project that has `moduleResolution: "nodenext"` set, TypeScript won't respect the existance of an `index.d.ts` when providing type definitions for a module. Explicitly adding the `"types"` condition in the export definition, as supported by TypeScript 4.7 and later, resolves this problem.
Commits on Apr 19, 2022
Commits on Apr 17, 2022
-
Merge pull request testdouble#481 from johnbotris/promise-stubber-the…
…n-return Add `thenReturn` to `PromiseStubber` type declaration
Commits on Mar 1, 2022
-
-
To ensure that `PromiseStubber.thenReturn` will compile
-
Add
thenReturn
toPromiseStubber
type declarationThis allows you to stub an async function with a sequence of promises that may either resolve or reject
Commits on Dec 31, 2021
Commits on Oct 31, 2021
-
on preversion, don't run tests locally (there are cases where Chrome …
…isn't available locally and I need to cut a release)
-
-