Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
chore(package): Fix tests for mkdirp@1.0.4.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for node<8.
  • Loading branch information
randytarampi committed Apr 25, 2020
1 parent 7a0cac8 commit e55f427
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ dist: bionic
matrix:
fast_finish: true
allow_failures:
- node_js: 6
- node_js: node
- node_js: lts/*
node_js:
- 6
- 8
- 10
- 12
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"test": "./test"
},
"engines": {
"node": ">=6"
"node": ">=8"
},
"files": [
"bin",
Expand Down
4 changes: 2 additions & 2 deletions test/integration/bin/pwa-asset-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ describe("pwa-asset-generator", function () {
const outputImageDirectoryPath = path.join(__dirname, "../../tmp");
const binPath = path.join(__dirname, "../../../bin/pwa-asset-generator.js");

beforeEach(function (done) {
mkdirp(outputImageDirectoryPath, done);
beforeEach(function () {
return mkdirp(outputImageDirectoryPath);
});

afterEach(function (done) {
Expand Down
4 changes: 2 additions & 2 deletions test/integration/src/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe("lib", function () {
const outputDirectory = path.join(__dirname, "../../../tmp");
const inputFile = path.join(__dirname, "../../../resources/ʕつ•ᴥ•ʔつ.png");

beforeEach(function (done) {
mkdirp(outputDirectory, done);
beforeEach(function () {
return mkdirp(outputDirectory);
});

afterEach(function (done) {
Expand Down

0 comments on commit e55f427

Please sign in to comment.