aboutsummaryrefslogtreecommitdiffstats
path: root/tools/image-zoom-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/image-zoom-test.js')
-rw-r--r--tools/image-zoom-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/image-zoom-test.js b/tools/image-zoom-test.js
index f1a57c5..3ada708 100644
--- a/tools/image-zoom-test.js
+++ b/tools/image-zoom-test.js
@@ -3,7 +3,7 @@
// dismissal; the close button bypasses gesture suppression.
// Run: bun tools/image-zoom-test.js
import assert from 'node:assert/strict';
-import puppeteer from 'puppeteer-core';
+import puppeteer from './puppeteer.js';
const app = await Bun.file('src/app.js').text();
const dom = app.slice(app.indexOf('function h(tag,'), app.indexOf("const root = document.getElementById('app');"));
const viewer = app.slice(app.indexOf('function imageViewer()'), app.indexOf("if (typeof window !== 'undefined') {\n window.addEventListener('keydown'"));