mm icon indicating copy to clipboard operation
mm copied to clipboard

An simple but flexible mock(or say stub) package, mock mate

Results 4 mm issues
Sort by recently updated
recently updated
newest added

测试用例 ``` it.skip('should mock ' + modName + '.request({url: "/bar/foo"}) with stream 500ms response delay', function(done) { const mockResData = new ChunkStream([ 'mock data with regex url', '哈哈' ]); const...

Some other libraries such as [nock](https://github.com/pgte/nock) also alter the `http.request`, as long as you require the `mm`, even you don't use the `mm.http.request`, the `restore` changes it with the origin...

https://betterstack.com/community/guides/testing/nodejs-test-runner/

enhancement

This PR migrates the project from eslint to oxlint using the new `@eggjs/oxlint-config` shared configuration. ## Changes Made ### Dependencies - **Removed**: `eslint` (8) and `eslint-config-egg` (14) - **Added**: `oxlint`...