Skip to content

Instantly share code, notes, and snippets.

@zindel
Created March 26, 2019 14:55
Show Gist options
  • Save zindel/5c5b37704192af0d96d4105ce250d89f to your computer and use it in GitHub Desktop.
Save zindel/5c5b37704192af0d96d4105ce250d89f to your computer and use it in GitHub Desktop.
it('does execute scripts in a non-root package scope', async () => {
const p = await createTestSandbox(...fixture);
await p.esy('install');
await p.esy('build');
await expect(p.esy('-p dep cmd1')).rejects.toMatchObject({
message: expect.stringMatching('error: unable to resolve command: cmd1'),
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment