Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 29, 2024
1 parent c8f5224 commit eb59892
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"runscript": "^2.0.1",
"sdk-base": "^4.2.1",
"spy": "^1.0.0",
"supertest": "^7.0.0",
"tsd": "^0.31.2",
"tshy": "^3.0.2",
"tshy-after": "1",
Expand Down
3 changes: 1 addition & 2 deletions test/app/extend/context.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { scheduler } from 'node:timers/promises';
import {
createApp, restore, MockApplication, mm, getFilepath, singleProcessApp,
startLocalServer,
MockSingleProcessApplication,
} from '../../utils.js';

describe('test/app/extend/context.test.ts', () => {
Expand Down Expand Up @@ -314,7 +313,7 @@ describe('test/app/extend/context.test.ts', () => {
describe('ctx.runInBackground(scope) with single process mode', () => {
// ctx.runInBackground with @eggjs/mock are override
// single process mode will use the original ctx.runInBackground
let app: MockSingleProcessApplication;
let app: MockApplication;
before(async () => {
app = await singleProcessApp('apps/ctx-background');
});
Expand Down

0 comments on commit eb59892

Please sign in to comment.