Skip to content

Commit

Permalink
Passing dir as argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sparshithNR committed Jan 7, 2020
1 parent 6651ba9 commit 43c40ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe("FSUpdater", () => {
rimraf.sync("tmp");
});

describe("output path", () => {
describe.only("output path", () => {
it("may be absent", () => {
new FSUpdater("tmp/out");
expect(fs.existsSync("tmp/out")).to.equal(false);
Expand All @@ -77,7 +77,7 @@ describe("FSUpdater", () => {
});

it("must not be a symlink", () => {
fs.symlinkSync(".", "tmp/out");
fs.symlinkSync(".", "tmp/out", "dir");
expect(() => {
new FSUpdater("tmp/out");
}).to.throw();
Expand Down

0 comments on commit 43c40ac

Please sign in to comment.