Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: upgrade dependencies #11

Merged
merged 3 commits into from
Oct 12, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"plugin"
],
"dependencies": {
"debug": "^2.6.0",
"moment": "^2.17.1",
"debug": "^2.6.8",
"moment": "^2.18.1",
"mz": "^2.6.0"
},
"files": [
Expand All @@ -24,14 +24,14 @@
"app.js"
],
"devDependencies": {
"autod": "^2.7.1",
"egg": "^0.9.0",
"egg-bin": "^2.0.2",
"egg-ci": "^1.1.0",
"egg-mock": "^2.3.1",
"eslint": "^3.14.1",
"eslint-config-egg": "^3.2.0",
"glob": "^7.1.1",
"autod": "^2.8.0",
"egg": "^1.4.0",
"egg-bin": "^3.6.0",
"egg-ci": "^1.7.0",
"egg-mock": "^3.7.2",
"eslint": "^3.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

怎么降了?

"eslint-config-egg": "^4.2.1",
"glob": "^7.1.2",
"pedding": "1",
"supertest": "^3.0.0"
},
Expand Down
3 changes: 3 additions & 0 deletions test/fixtures/logger-reload/config/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

exports.keys = 'test key';
6 changes: 2 additions & 4 deletions test/logrotator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ describe('test/logrotator.test.js', () => {
describe('rotate_by_day', () => {

let app;
before(() => {
beforeEach(() => {
app = mm.app({
baseDir: 'logrotator-app',
cache: false,
});
return app.ready();
});
after(() => app.close());
afterEach(() => app.close());
afterEach(mm.restore);

const schedule = path.join(__dirname, '../app/schedule/rotate_by_file');
Expand Down Expand Up @@ -71,7 +71,6 @@ describe('test/logrotator.test.js', () => {

// run again should work
yield app.runSchedule(schedule);

});

it('should error when rename to existed file', function* () {
Expand Down Expand Up @@ -261,7 +260,6 @@ describe('test/logrotator.test.js', () => {
});
});


describe('rotate_by_hour', () => {

let app;
Expand Down