Skip to content

Commit

Permalink
refine dependencies & test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed May 8, 2022
1 parent ef86e2f commit a7b5622
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 36 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
npm-debug.log
.idea/
coverage
.nyc_output/
31 changes: 0 additions & 31 deletions Makefile

This file was deleted.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@
"coveralls": "*",
"eslint": "^3.11.1",
"express": "^4.10.0",
"istanbul": "*",
"methods": "*",
"mocha": "*",
"mocha-lcov-reporter": "*",
"nyc": "^15.1.0",
"should": "~3.0.0",
"supertest": "^2.0.1",
"travis-cov": "*"
},
"scripts": {
"test": "make test",
"lint": "eslint --fix lib test"
"lint": "eslint --fix lib test",
"test": "mocha --inline-diffs -b -R spec test/*.test.js",
"test-cov": "nyc -r=html -r=text -r=lcov npm run test",
"ci": "npm run lint && npm run test-cov && codecov"
},
"bugs": {
"url": "https://github.com/JacksonTian/ejs-mate/issues"
Expand Down
2 changes: 1 addition & 1 deletion test/test.partials.js → test/partials.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const express = require('express');
const request = require('supertest');
const engine = require('../');
const engine = require('../lib');

var app = express();
app.set('views', __dirname + '/fixtures');
Expand Down
2 changes: 1 addition & 1 deletion test/test.views-array.js → test/views-array.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const express = require('express');
const request = require('supertest');
const engine = require('../');
const engine = require('../lib');

var app = express();
app.set('views',[__dirname + '/fixtures', __dirname + '/fixtures/thing']);
Expand Down

0 comments on commit a7b5622

Please sign in to comment.