diff options
Diffstat (limited to 'tools/upload-progress-test.js')
| -rw-r--r-- | tools/upload-progress-test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upload-progress-test.js b/tools/upload-progress-test.js index 25bf91c..8d4b24b 100644 --- a/tools/upload-progress-test.js +++ b/tools/upload-progress-test.js @@ -2,7 +2,7 @@ // upload events — fetch() can't), from 0 to 1, on a slow uplink. // // Run: bun tools/upload-progress-test.js -import puppeteer from 'puppeteer-core'; +import puppeteer from './puppeteer.js'; let ok = true; const check = (n, c, d = '') => { console.log(` ${c ? '✓' : '✗'} ${n}${d ? ' — ' + d : ''}`); if (!c) ok = false; }; const js = await Bun.build({ entrypoints: ['src/media-upload.js'], target: 'browser' }).then((b) => b.outputs[0].text()); |
