Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix test
Browse files Browse the repository at this point in the history
nedsalk committed Jan 30, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6a2b369 commit b296cc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/fuels/test/features/dev.test.ts
Original file line number Diff line number Diff line change
@@ -98,6 +98,12 @@ describe('dev', () => {
const devProcess = spawn(`pnpm fuels dev --path ${paths.root}`, {
detached: true,
shell: 'bash',
/**
* pnpm fuels dev fails because the test is run in the root directory
* and there is no `fuels` dependency in `package.json` there,
* so we have to give the spawn a cwd which has `fuels` as a dependency.
*/
cwd: join(cwd(), 'packages/fuel-gauge'),
});

const data: string[] = [];

0 comments on commit b296cc0

Please sign in to comment.