Skip to content

Commit

Permalink
fix another localtunnel import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Sep 24, 2024
1 parent 7b78f46 commit 7cd9373
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/appscript/config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/

import { describe, it, expect, beforeAll, afterAll } from '@jest/globals';
import localtunnel from 'mwp-localtunnel-client';
import Clasp from '../utilities/clasp';
import getExpectedResponse from './getExpectedResponse';
import env from '../env';
Expand Down Expand Up @@ -76,6 +75,8 @@ describe('config', () => {

if (process.env.USE_LOCALTUNNEL) {
beforeAll(async () => {
const localtunnel = (await import('../utilities/mwp-localtunnel-client')).default;

// create localtunnel
tunnel = await localtunnel({
port: 3000,
Expand Down

0 comments on commit 7cd9373

Please sign in to comment.