Skip to content

Commit

Permalink
Convert test js to es6 (#2488)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahDragon committed Apr 6, 2017
1 parent 4b02684 commit 67722e5
Show file tree
Hide file tree
Showing 131 changed files with 2,727 additions and 4,121 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -8,7 +8,6 @@ cache:
- node_modules

node_js:
- "4"
- "6"
- "7"

Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Expand Up @@ -5,7 +5,6 @@ init:
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "7"

Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -59,7 +59,8 @@
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"eslint": "^2.12.0",
"eslint-config-hexo": "^1.0.3",
"eslint-config-hexo": "^1.0.4",
"babel-eslint": "^7.2.1",
"hexo-renderer-marked": "^0.2.10",
"istanbul": "^0.4.3",
"jscs": "^3.0.4",
Expand Down
2 changes: 0 additions & 2 deletions test/fixtures/post_render.js
@@ -1,5 +1,3 @@
'use strict';

var util = require('hexo-util');

var code = [
Expand Down
4 changes: 1 addition & 3 deletions test/index.js
@@ -1,10 +1,8 @@
'use strict';

var chai = require('chai');

chai.use(require('chai-as-promised'));

describe('Hexo', function() {
describe('Hexo', () => {
require('./scripts/box');
require('./scripts/console');
require('./scripts/extend');
Expand Down

0 comments on commit 67722e5

Please sign in to comment.