-
# Testing with jest, part(1)
Amazing job on testing and mocking.
I believe the function is depending on many variables, which can be avoided by breaking the tested function into smaller modules. …
-
### What is the problem this feature would solve?
Trying to access mocked modules properties/methods is awkward and unsafe.
```ts
import type { Mock } from 'bun:test';
// Mocking my module h…
-
### Error
MSW 적용 간
Refused to load the script 'https://www.youtube.com/s/desktop/70217e23/jsbin/desktop_polymer_enable_poly_si.vflset/vendors-node_modules_msw_lib_browser_index_mjs-node_modules_msw…
-
I was wondering if there was a plan to support modules in the future (with C++20)?
It would be awesome to have a parser providing the information of what a modules file contains (for my mocking frame…
-
We should have a section in our guide how to use mocks, spies and stubs using Sinon in tests. And mocking es modules in tests using import maps.
-
The [`test`](https://www.npmjs.com/package/test) npm package serves as a backport of the `node:test` module for Node.js versions prior to v18. However, all these older versions are now end-of-life (Eo…
-
`jet-brains-integration` is assuming that `process.cwd()` is pointing to package root. If it is not, it crashes at this line:
https://github.com/break-stuff/cem-tools/blob/940144cb90d42c152506b0fa9…
-
**[Alin Dreghiciu](https://ops4j1.jira.com/secure/ViewProfile.jspa?accountId=557058:a786db11-2013-41fb-af1d-ca5eb8f74aa0)** created **[PAXCONSTRUCT-104](https://ops4j1.jira.com/browse/PAXCONSTRUCT-104…
-
Trying to mock NodeGit in Jest fails with the following error message:
> TypeError: Cannot set property 'lookupWrapper' of undefined
The code of the test:
var nodegit = require('nodeg…
axiac updated
3 years ago
-
## 🚀 Feature Proposal
This introduces an easy-to-use, lightweight and concise way to (partially) mock typed APIs (Typescript modules, types, classes and above all interfaces) without introducing an…
ghost updated
4 months ago