From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- remote/test/puppeteer/src/templates/README.md | 3 +++ remote/test/puppeteer/src/templates/injected.ts.tmpl | 10 ++++++++++ remote/test/puppeteer/src/templates/version.ts.tmpl | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 remote/test/puppeteer/src/templates/README.md create mode 100644 remote/test/puppeteer/src/templates/injected.ts.tmpl create mode 100644 remote/test/puppeteer/src/templates/version.ts.tmpl (limited to 'remote/test/puppeteer/src/templates') 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'; -- cgit v1.2.3