summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/src/templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /remote/test/puppeteer/src/templates
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/test/puppeteer/src/templates')
-rw-r--r--remote/test/puppeteer/src/templates/README.md3
-rw-r--r--remote/test/puppeteer/src/templates/injected.ts.tmpl10
-rw-r--r--remote/test/puppeteer/src/templates/version.ts.tmpl4
3 files changed, 17 insertions, 0 deletions
diff --git a/remote/test/puppeteer/src/templates/README.md b/remote/test/puppeteer/src/templates/README.md
new file mode 100644
index 0000000000..548987eafc
--- /dev/null
+++ b/remote/test/puppeteer/src/templates/README.md
@@ -0,0 +1,3 @@
+# Templated Artifacts
+
+These files are generated as TypeScript files in the `src/generated` folder.
diff --git a/remote/test/puppeteer/src/templates/injected.ts.tmpl b/remote/test/puppeteer/src/templates/injected.ts.tmpl
new file mode 100644
index 0000000000..74146a4115
--- /dev/null
+++ b/remote/test/puppeteer/src/templates/injected.ts.tmpl
@@ -0,0 +1,10 @@
+import {createDeferredPromise} from '../util/DeferredPromise.js';
+
+declare global {
+ const InjectedUtil: {
+ createDeferredPromise: typeof createDeferredPromise;
+ };
+}
+
+/** @internal */
+export const source = SOURCE_CODE;
diff --git a/remote/test/puppeteer/src/templates/version.ts.tmpl b/remote/test/puppeteer/src/templates/version.ts.tmpl
new file mode 100644
index 0000000000..73b984d2ff
--- /dev/null
+++ b/remote/test/puppeteer/src/templates/version.ts.tmpl
@@ -0,0 +1,4 @@
+/**
+ * @internal
+ */
+export const packageVersion = 'PACKAGE_VERSION';