Skip to content

Commit

Permalink
test: change to extend Subscription (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 authored Oct 24, 2017
1 parent 4075cdd commit 4cdfa20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"cron-parser": "^2.4.3",
"humanize-ms": "^1.2.1",
"is-type-of": "^1.2.0",
"safe-timers": "^1.0.1"
"safe-timers": "^1.1.0"
},
"devDependencies": {
"autod": "^2.10.1",
"egg": "^1.9.0",
"egg": "^1.10.0",
"egg-bin": "^4.3.5",
"egg-ci": "^1.8.0",
"egg-mock": "^3.13.0",
"eslint": "^4.8.0",
"egg-mock": "^3.13.1",
"eslint": "^4.9.0",
"eslint-config-egg": "^5.1.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/subscription/app/schedule/interval.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Subscription = require('egg').BaseContextClass;
const Subscription = require('egg').Subscription;

class Interval extends Subscription {
static get schedule() {
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/subscription/app/schedule/sub/cron.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Subscription = require('egg').BaseContextClass;
const Subscription = require('egg').Subscription;

class Interval extends Subscription {
static get schedule() {
Expand Down

0 comments on commit 4cdfa20

Please sign in to comment.