Skip to content

Commit

Permalink
Minor remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
phocks committed Dec 5, 2023
1 parent c122444 commit f1ba6ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ beforeAll(async () => {
await rmRecursive(tempRoot);
await fs.mkdir(tempRoot);

// Link local aunty to global
const linkOutput = execSync('npm link');
console.log('Running: npm link', linkOutput.toString());
});
Expand Down Expand Up @@ -112,6 +113,8 @@ afterAll(async () => {
it('should build the generated project', async () => {
process.chdir(generatedProjectRoot);

// execSync will throw on non-zero exit code

{
const output = execSync('npm link @abcnews/aunty');
console.log('Running: npm link @abcnews/aunty', output.toString());
Expand Down

0 comments on commit f1ba6ed

Please sign in to comment.