boblauer / MockDate
A JavaScript Mock Date object that can be used to change when "now" is.
☆675Updated 8 months ago
Alternatives and similar repositories for MockDate
Users that are interested in MockDate are comparing it to the libraries listed below
Sorting:
- 🌗 Mock `Date` when run unit test cases with jest. Make tests of Date easier.☆265Updated last year
- Axios mock for Jest☆253Updated 2 months ago
- Enforce best practices for JavaScript promises☆966Updated this week
- An identity object using ES6 proxies. Useful for mocking webpack imports like CSS Modules.☆505Updated 3 years ago
- Jest mock for fetch☆891Updated last year
- Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS☆829Updated 3 months ago
- Jest watch plugin for filtering test by file name or test name☆410Updated this week
- Convert object keys to camel case☆714Updated 10 months ago
- ESLint plugin for Jest☆1,154Updated this week
- A module to mock window.localStorage and window.sessionStorage in Jest☆320Updated 7 months ago
- Eslint plugin to check filenames.☆321Updated 9 months ago
- Wait for expectation to be true, useful for integration and end to end testing. Integral part of react-testing-library.☆296Updated last year
- Jest support for mock argument-matched return values.☆739Updated 5 months ago
- Starts server, waits for URL, then runs test command; when the tests end, shuts down server☆1,554Updated this week
- Mock http requests made using fetch☆1,304Updated this week
- Add custom message to Jest expects 🃏🗯☆369Updated 9 months ago
- Configurable mock for the fs module☆918Updated last week
- Serialize/deserialize an error into a plain object☆557Updated 4 months ago
- A module used to mock canvas in Jest.☆311Updated last month
- Convert an object's keys to snake case☆187Updated last month
- Easy testing of time-dependent code. Node.js☆426Updated last year
- factory for building JavaScript objects, mostly useful for setting up test data. Inspired by factory_girl☆1,058Updated last year
- Deprecated - please use https://www.npmjs.com/package/@fetch-mock/jest☆60Updated 5 months ago
- Additional ESLint's rules for Node.js☆961Updated 10 months ago
- A Jest reporter that creates compatible junit xml files☆494Updated 5 months ago
- Babel plugin for removing React properties.☆380Updated 6 years ago
- Sort ES2015 (aka ES6) imports. Both JavaScript and TypeScript are supported.☆465Updated last year
- Prettier plugin to pass javascript and typescript through import-sort☆111Updated 3 years ago
- CLI for prettier-eslint☆542Updated this week
- Sort an Object or package.json based on the well-known package.json keys☆852Updated last week