From 0ec24ef0620d3053645c11b8e41e2c8c75c34668 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Sat, 30 Dec 2023 13:37:04 +0100 Subject: [PATCH] fix import paths for test/ --- test/notify.js | 4 ++-- test/sigint-enquirer-raw.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/notify.js b/test/notify.js index 3479076d..6d89086a 100644 --- a/test/notify.js +++ b/test/notify.js @@ -1,6 +1,6 @@ /* eslint-disable no-constant-condition */ -import { delay, html_game_list, notify } from '../util.js'; -import { cfg } from '../config.js'; +import { delay, html_game_list, notify } from '../src/util.js'; +import { cfg } from '../src/config.js'; const URL_CLAIM = 'https://gaming.amazon.com/home'; // dummy URL diff --git a/test/sigint-enquirer-raw.js b/test/sigint-enquirer-raw.js index 0459aa77..0a95892d 100644 --- a/test/sigint-enquirer-raw.js +++ b/test/sigint-enquirer-raw.js @@ -1,5 +1,5 @@ // https://github.com/enquirer/enquirer/issues/372 -import { prompt } from '../util.js'; +import { prompt } from '../src/util.js'; const handleSIGINT = () => process.on('SIGINT', () => { // e.g. when killed by Ctrl-C console.log('\nInterrupted by SIGINT. Exit!');