Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Nov 15, 2024
1 parent 671f841 commit a89ddbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions __tests__/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ const fixturesTempDir = '__tests__/fixtures/__temp';
beforeAll(
async () => {
// Pack and install Preflight globally
console.log((await execa`pnpm pack`).stdout);
const pnpmPackTarballPath = (await execa`pnpm pack`).stdout
.split('\n')
.find((line) => line.match(/^preflight-.*\.tgz$/));
.find((line) => line.match(/^upleveled-preflight-.*\.tgz$/));

if (!pnpmPackTarballPath) {
throw new Error('Failed to find the tarball path in `pnpm pack` output');
Expand Down

0 comments on commit a89ddbb

Please sign in to comment.