Skip to content

Commit

Permalink
Cleanup / housekeeping (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldietrich authored Dec 24, 2019
1 parent be11248 commit f641e48
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 28 deletions.
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typescript"
],
"engines": {
"node": ">=10.0.0"
"node": ">=10.12.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -46,12 +46,13 @@
"email": "cafebab3@gmail.com",
"url": "https://danieldietrich.dev"
},
"funding": "https://github.com/sponsors/danieldietrich",
"license": "MIT",
"devDependencies": {
"@types/jest": "^24.0.24",
"@types/node": "^12.12.21",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"@types/node": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"@types/rimraf": "^2.0.3",
"codecov": "^3.6.1",
"eslint": "^6.8.0",
Expand Down
2 changes: 0 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const mkdir = promisify(fs.mkdir);
const rmdir = promisify(rimraf);
const readlink = promisify(fs.readlink);
const symlink = promisify(fs.symlink);
const unlink = promisify(fs.unlink);
const utimes = promisify(fs.utimes);
const writeFile = promisify(fs.writeFile);

Expand Down Expand Up @@ -89,7 +88,6 @@ describe('Options.dereference', () => {

test('Should fail when trying to dereference broken links', async () => {
const tmp = await tempDir();
await unlink(`${tmp}/src/d1/l2`);
await expect(copy(`${tmp}/src`, `${tmp}/dst`, { dereference: true })).rejects.toThrow(Error("ENOENT: no such file or directory, copyfile '__tmp/src/d1/d3/l1' -> '__tmp/dst/d1/d3/l1'"));
});

Expand Down

0 comments on commit f641e48

Please sign in to comment.