Skip to content
Prev Previous commit
Next Next commit
update directory
  • Loading branch information
szymonrybczak committed Sep 9, 2024
commit fbafde0431eab97e1b9fb0eed8962c9961f851fe
10 changes: 7 additions & 3 deletions __e2e__/root.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ beforeAll(() => {

// Link CLI to the project
console.log(__dirname);
const linkingOutput = spawnScript('yarn', ['link', __dirname, '--all'], {
cwd: path.join(DIR, 'TestProject'),
});
const linkingOutput = spawnScript(
'yarn',
['link', path.dirname(__dirname), '--all'],
{
cwd: path.join(DIR, 'TestProject'),
},
);
console.log(linkingOutput.stdout);
});

Expand Down