Skip to content

Commit

Permalink
tests: update flaky test (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpina1-godaddy authored Oct 24, 2024
1 parent 45290e7 commit dc68e42
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ describe('makeCreateContext', () => {
});

it('sets relDest as relative to cwd', () => {
const dest = path.join(process.cwd(), 'my-app');
const expected = `.${path.sep}${path.relative(process.cwd(), dest)}`;
results = makeCreateContext(argv, flags);
expect(results.relDest).toEqual('./my-app');
expect(results.relDest).toEqual(expected);
});

it('sets pkgLinks from flags', () => {
Expand Down

0 comments on commit dc68e42

Please sign in to comment.