Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Jul 6, 2022
1 parent 5d52de2 commit 9eaf90b
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ describe(`Node Manifest API in "gatsby ${gatsbyCommandName}"`, () => {

afterAll(() => {
return new Promise(resolve => {
if (!gatsbyProcess || gatsbyProcess.killed) {
if (
!gatsbyProcess ||
gatsbyProcess.killed ||
gatsbyProcess.exitCode !== null
) {
return resolve()
}

Expand Down Expand Up @@ -181,7 +185,11 @@ describe(`Node Manifest API in "gatsby ${gatsbyCommandName}"`, () => {

afterAll(() => {
return new Promise(resolve => {
if (!gatsbyProcess || gatsbyProcess.killed) {
if (
!gatsbyProcess ||
gatsbyProcess.killed ||
gatsbyProcess.exitCode !== null
) {
return resolve()
}

Expand Down

0 comments on commit 9eaf90b

Please sign in to comment.