Skip to content

Commit

Permalink
throw if localtunnel setup fails
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Sep 10, 2024
1 parent e065862 commit a58fff8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/appscript/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ describe('api', () => {
port: 3000,
host: process.env.USE_LOCALTUNNEL,
});

if ( ! tunnel.url ) {
throw new Error('Failed to setup localtunnel!');
}
});

beforeAll(async () => {
Expand Down

0 comments on commit a58fff8

Please sign in to comment.