Skip to content

Commit

Permalink
test: the kitchen sink system test sometimes times out (#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Apr 7, 2020
1 parent 05090da commit 99ebacf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions system-test/kitchen.test.ts
Expand Up @@ -30,7 +30,8 @@ const spawnOpts: cp.SpawnSyncOptions = {stdio: 'inherit', shell: true};
* Create a staging directory with temp fixtures used to test on a fresh application.
*/
describe('kitchen sink', async () => {
it('should be able to use the d.ts', async () => {
it('should be able to use the d.ts', async function() {
this.retries(3);
console.log(`${__filename} staging area: ${stagingPath}`);
cp.spawnSync('npm', ['pack'], spawnOpts);
const tarball = `${pkg.name}-${pkg.version}.tgz`;
Expand All @@ -46,7 +47,7 @@ describe('kitchen sink', async () => {
/**
* CLEAN UP - remove the staging directory when done.
*/
after('cleanup staging', async () => {
afterEach('cleanup staging', async () => {
if (!keep) {
stagingDir.removeCallback();
}
Expand Down

0 comments on commit 99ebacf

Please sign in to comment.