summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/src/injected/injected.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--remote/test/puppeteer/src/injected/injected.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/remote/test/puppeteer/src/injected/injected.ts b/remote/test/puppeteer/src/injected/injected.ts
new file mode 100644
index 0000000000..7650a28fd5
--- /dev/null
+++ b/remote/test/puppeteer/src/injected/injected.ts
@@ -0,0 +1,14 @@
+import {createDeferredPromise} from '../util/DeferredPromise.js';
+import * as Poller from './Poller.js';
+import * as util from './util.js';
+
+Object.assign(
+ self,
+ Object.freeze({
+ InjectedUtil: {
+ ...Poller,
+ ...util,
+ createDeferredPromise,
+ },
+ })
+);