Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Sep 19, 2024
1 parent 9221662 commit 886e5bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions integration/helpers/create-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ export async function createAppFixture(fixture: Fixture, mode?: ServerMode) {
});
}

if (!fixture.build) {
return Promise.reject(
new Error("Cannot start app server without a build")
);
}

return new Promise(async (accept) => {
let port = await getPort();
let app = express();
Expand Down

0 comments on commit 886e5bf

Please sign in to comment.