Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Complete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Jun 17, 2020
1 parent 74bc7f1 commit 1904498
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
node_modules/
package-lock.json
package-lock.json
tests/output/*
8 changes: 2 additions & 6 deletions tests/pastel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ const defaultMetadata = {
'last_updated': '',
};

afterEach(() => {
try {
fs.rmdirSync(__dirname + '/output');
} catch (e) {

}
afterAll(() => {
fs.rmdirSync(path.resolve(__dirname + '/output'), { recursive: true });
});


Expand Down

0 comments on commit 1904498

Please sign in to comment.