Skip to content

Commit b7d1004

Browse files
committed
chore: fix import in e2e page
1 parent c5d36ce commit b7d1004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import Leanplum from './dist/leanplum'
1+
declare const Leanplum: any
22

33
const isProdKey = (accessKey: string): boolean => /^prod_/.test(accessKey)
44

5-
const d = (Leanplum as any)._lp._browserDetector;
5+
const d = Leanplum._lp._browserDetector;
66
const browser = `${d.browser} ${d.version}, running on ${d.OS}`;
77
$('#browserVersion').text(browser);
88

0 commit comments

Comments
 (0)