Skip to content

Commit

Permalink
Delete toFrowardSlashes test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilapNaik committed Dec 4, 2023
1 parent b89128b commit f408c8a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ describe('util', () => {
});
});

describe('toForwardSlashes', () => {
it('returns original value for non-strings', () => {
expect(util.toForwardSlashes(undefined)).to.be.undefined;
expect(util.toForwardSlashes(<any>false)).to.be.false;
});

it('converts mixed slashes to forward', () => {
expect(util.toForwardSlashes('a\\b/c\\d/e')).to.eql('a/b/c/d/e');
});
});

describe('isChildOfPath', () => {
it('works for child path', () => {
let parentPath = `${process.cwd()}\\testProject`;
Expand Down

0 comments on commit f408c8a

Please sign in to comment.