Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/eggjs/mock

Mock library for egg testing.
https://github.com/eggjs/mock

fix: add startMode types

fengmk2 opened this pull request 2 days ago
fix: add urllib to dependencies

fengmk2 opened this pull request 5 days ago
fix: set bootstrap app to global

fengmk2 opened this pull request 5 days ago
fix: support simple test on normal app

fengmk2 opened this pull request 5 days ago
feat: support cjs and esm both by tshy

fengmk2 opened this pull request 17 days ago
fix: try to use urllib4

fengmk2 opened this pull request 22 days ago
feat: use @eggjs/utils

fengmk2 opened this pull request 24 days ago
feat: detect-port@2, is-type-of@2, get-ready@3

fengmk2 opened this pull request 25 days ago
feat: mv urllib to peerDependencies

fengmk2 opened this pull request 29 days ago
add urllib to peerDependencies

fengmk2 opened this issue 29 days ago
fix: should run restore in the current event loop

fengmk2 opened this pull request 6 months ago
fix: should reset agent on restore

fengmk2 opened this pull request 6 months ago
fix: don't close used mock agent

fengmk2 opened this pull request 6 months ago
fix: export mockHttpClient types

fengmk2 opened this pull request 6 months ago
fix: support httpclient mock on allowH2 = true

fengmk2 opened this pull request 6 months ago
feat: use egg-logger@3 and sdk-base@4

fengmk2 opened this pull request 8 months ago
Property 'set' does not exist on type 'EggTest'

MickleWen opened this issue about 1 year ago
fix: allow to call mockHttpclient multi times

fengmk2 opened this pull request about 1 year ago
mockHttpclient 调用2次只会命中第一次的逻辑

fengmk2 opened this issue about 1 year ago
feat: change backgroundTasksFinished method from private to public

CodyTseng opened this pull request over 1 year ago
fix: fix mocha failed title for inject_ctx

killagu opened this pull request over 1 year ago
fix: set types to index.d.ts

killagu opened this pull request over 1 year ago
fix: disable app close on parallel

fengmk2 opened this pull request almost 2 years ago
Revert "fix: should close app on afterAll hook (#158)"

killagu opened this pull request almost 2 years ago
fix: should close app on afterAll hook

fengmk2 opened this pull request almost 2 years ago
test: use egg-bin v6

fengmk2 opened this pull request almost 2 years ago
fix: use symbol to access suite app

killagu opened this pull request almost 2 years ago
fix: make sure app ready on parallel mode

fengmk2 opened this pull request almost 2 years ago
fix: inject failed should make suite/test failed

killagu opened this pull request almost 2 years ago
fix: fix mockContext with headers

killagu opened this pull request almost 2 years ago
feat: impl setGetAppCallback

killagu opened this pull request almost 2 years ago
fix: add default ua egg-mock/${version}

killagu opened this pull request almost 2 years ago
fix: every it should has self ctx

killagu opened this pull request almost 2 years ago
fix: use originalUrl to check mock call function request

fengmk2 opened this pull request almost 2 years ago
fix: mocha should be peer deps

killagu opened this pull request almost 2 years ago
fix: mockContextScope should return Promise

fengmk2 opened this pull request almost 2 years ago
feat: inject tegg ctx to mocha runner

killagu opened this pull request almost 2 years ago
fix: only await app ready when app exists

killagu opened this pull request almost 2 years ago
fix: app should wait for agent ready on parallel mode

fengmk2 opened this pull request almost 2 years ago
[Snyk] Security upgrade egg-logger from 2.9.1 to 3.0.0

fengmk2 opened this pull request almost 2 years ago
fix: ignore bootstrap error on non egg project

fengmk2 opened this pull request almost 2 years ago
fix: add register.js to files

killagu opened this pull request almost 2 years ago
feat: use mocha global hook to register before/after

killagu opened this pull request almost 2 years ago
fix: should add egg to peerDependencies

fengmk2 opened this pull request almost 2 years ago
feat: remove power-assert

fengmk2 opened this pull request almost 2 years ago
feat: upgrade globby to v11

fengmk2 opened this pull request about 2 years ago
feat: add mockContextScope

killagu opened this pull request about 2 years ago
chore: auto release

fengmk2 opened this pull request about 2 years ago
📦 NEW: Allow restore mockAgent only

fengmk2 opened this pull request about 2 years ago
📦 NEW: mock context support ctxStorage

fengmk2 opened this pull request about 2 years ago
fix: use global hook for register global hook

killagu opened this pull request about 2 years ago
feat: add EGG_FRAMEWORK for bootstrap custom framework

killagu opened this pull request about 2 years ago
feat: impl parallel app for mocha parallel mode

killagu opened this pull request about 2 years ago
🐛 FIX: Should use urllib-next package

fengmk2 opened this pull request about 2 years ago
🤖 TEST: Add httpclient streaming mocking

fengmk2 opened this pull request over 2 years ago
👌 IMPROVE: Mock httpclient support delay ms and repeat times

fengmk2 opened this pull request over 2 years ago
📦 NEW: [BREAKING] Support egg 3.0

fengmk2 opened this pull request over 2 years ago
fix: allow other envtype

whxaxes opened this pull request over 2 years ago
🤖 TEST: Fix assert case

fengmk2 opened this pull request over 2 years ago
[fix] fix run server without wait until app ready

Sesna opened this pull request over 2 years ago
feat: add mock.app unittestFastReady getter

mansonchor opened this pull request almost 3 years ago
feat: add mockLog, expectLog to type define

fengmk2 opened this pull request about 3 years ago
feat: pick https://github.com/eggjs/egg-mock/pull/119/files

mansonchor opened this pull request over 3 years ago
Feat/catch boot error

mansonchor opened this pull request almost 4 years ago
[Snyk] Security upgrade globby from 9.2.0 to 10.0.0

atian25 opened this pull request almost 4 years ago
feat: httpclient support mock async function

dead-horse opened this pull request over 4 years ago
feat: upgrade mm@3

dead-horse opened this pull request almost 5 years ago
fix: backgroundTasksFinished ensure all tasks finished

dead-horse opened this pull request almost 5 years ago
fix: enable sendRandom() method in unittest

GoodMeowing opened this pull request about 5 years ago
fix: mockLog don't read file

dead-horse opened this pull request about 5 years ago
chore(deps): update globby

waitingsong opened this pull request about 5 years ago
chore(deps): update globby

waitingsong opened this pull request about 5 years ago
[Snyk] Fix for 1 vulnerabilities

snyk-bot opened this pull request about 5 years ago
feat: support init hook before mock app init

atian25 opened this pull request over 5 years ago
fix: single mode will call app.agent.close

atian25 opened this pull request over 5 years ago
feat: support app.notExpectLog()

fengmk2 opened this pull request over 5 years ago
fix: mockHttpclient with multi-request

whxaxes opened this pull request over 5 years ago
fix: fix httpRequest function signature

zbinlin opened this pull request over 5 years ago
fix: rimraf

atian25 opened this pull request over 5 years ago
feat: mockHttpclient support fn

atian25 opened this pull request over 5 years ago
feat: add supertest agent

zeromake opened this pull request over 5 years ago
fix: remove egg-core deps

atian25 opened this pull request over 5 years ago
fix: throw error when an egg plugin test is using bootstrap

atian25 opened this pull request over 5 years ago
deps: update dependencies

killagu opened this pull request over 5 years ago
fix: should emit server

atian25 opened this pull request almost 6 years ago
fix: d.ts typo

atian25 opened this pull request almost 6 years ago
fix: remove nonexistent type and correct typing

shinux opened this pull request almost 6 years ago
feat: add mock API for customLoader

popomore opened this pull request almost 6 years ago
fix: proxy sendTo

atian25 opened this pull request about 6 years ago
feat: bootstrap support run on jest env

fengmk2 opened this pull request about 6 years ago
feat: cluster mock support result

atian25 opened this pull request about 6 years ago
deps: add egg-logger dependency

fengmk2 opened this pull request over 6 years ago
fix: add app.mockLog() to improve app.expectLog() more stable

fengmk2 opened this pull request over 6 years ago
fix: fix declaration merging error

whxaxes opened this pull request over 6 years ago
fix: show expectLog last 500 words on assert error

fengmk2 opened this pull request over 6 years ago
fix: allow egg-core module missing

fengmk2 opened this pull request over 6 years ago
feat: add `app.agent.mockHttpclient()` for agent

limerickgds opened this pull request over 6 years ago
feat: .d.ts 新增继承自 mm 的 api

paranoidjk opened this pull request over 6 years ago
fix: put mock restore at the end

fengmk2 opened this pull request over 6 years ago