Skip to content

Commit

Permalink
More expand test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Sep 14, 2023
1 parent 45d18dc commit 617f829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util/expand.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('expand', () => {

it('should collapse relative segments', () => {
const p = expand('/path/./to/../foo');
expect(p).toEqual(isWin ? 'C:\\path\\foo' : '/path/foo');
expect(p).toMatch(isWin ? /\\path\\foo/ : /\/path\/foo/);
});

(isWin ? it : it.skip)('should resolve environment paths (Windows)', () => {
Expand Down

0 comments on commit 617f829

Please sign in to comment.