- Refactored code logic to only include dynamic
require()
calls for testing-related third-party packages - Added support for NextJS API routes request/response mock object
- [Breaking Change]; Public APIs modified:
provisionMockedMaterialUIKitForTests()
,provisionMockedHttpServerForTests()
- Adding
middleware
fake Redux - Adding NextJS middleware request/response mock objects
- Fixed invalid build in v0.0.6
- Added
provisionMockedNextJSRouterForTests_withAddons()
helper function - Added
provisionMockedReactHookFormForTests_withAddons()
helper function - Added
provisionFakeBrowserResizeObserverForTests()
helper function - Added
provisionEnvironmentalVariablesForTests_withAddons()
helper function - Added
provisionFixturesForTests_withAddons()
helper function (WIP: "(req, res, next)
fakes for ExpressJS" - v0.0.5) - Added
provisionMockedJSConsoleLoggingForTests()
helper function - Added
provisionMockedNodeJSFileSystemForTests()
helper function - Added
provisionFakeBrowserMatchMediaForTests()
helper function - Added
provisionMockedReacti18NextForTests()
helper function - Added
provisionFakeBrowserURILocationForTests_withAddons()
helper function - Added
provisionFakeBrowserDialogForTests()
helper function - Added
provisionMockedMaterialUIKitForTests()
helper function - Added
provisionMockedWebSocketClientAndServerForTests()
helper function - Added
provisionMockedHttpServerForTests()
helper function - Added
provisionMockedNodeJSCloudinaryForTests()
helper function (WIP: "Cloudinary.uploader
fake Cloudinary" - v0.0.5)
- Adding
middleware
fake Redux
- Fixed bug in
provisionFakeBrowserIntersectionObserverForTests()
helper function
- Added
provisionMockedAdonisJSv4CacheForTests()
helper function
- Adding
Cloudinary.uploader
fake Cloudinary - Adding
(req, res, next)
fakes for ExpressJS
- Fixed issue (error) with
provisionFakeBrowserIntersectionObserverForTests()
helper function: disconnect() is not defined
- None
- Fixed error
Cannot find module 'timekeeper' from 'node_modules/mocklets/dist/mocklets.cjs.js'
.
- None
- Fixed bug with
browserStorage
fake object.
- None
- Exposed missing TypeScript declaration file
- Added
provisionMockedDateForTests()
helper function. - Added
provisionFakeBrowserSessionStorageForTests()
helper function. - Added
provisionFakeBrowserLocalStorageForTests()
helper function. - Added
provisionFakeBrowserIntersectionObserverForTests()
helper function. - Added
provisionMockedNextJSRouterForTests()
helper function. - Added
provisionMockedWinstonLoggerForTests()
helper function. - Added
provisionMockedPinoLoggerForTests()
helper function. - Added
provisionMockedReactTransitionGroupForTests()
helper function. - Added
provisionFakeDateForTests()
helper function.
- None