Skip to content
Permalink
Browse files
Properly handle promise in superspawn test
  • Loading branch information
raphinesse committed Apr 1, 2019
1 parent f9951b3 commit 83b27cd3b40b8683b51f74957425c14cefb77906
Showing 1 changed file with 1 addition and 1 deletion.
@@ -98,7 +98,7 @@ describe('spawn method', function () {
pending('test should only run on windows');
}

superspawn.spawn(TEST_SCRIPT, TEST_ARGS).then(output => {
return superspawn.spawn(TEST_SCRIPT, TEST_ARGS).then(output => {
expect(output.split(/\r?\n/)).toEqual(TEST_ARGS);
});
});

0 comments on commit 83b27cd

Please sign in to comment.