From 71cbb2ca11319d0ffbe93f1eae3362405a1c2f02 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Mon, 22 Jul 2024 02:58:56 +0300 Subject: [PATCH] Fix tests --- bin/cli.js | 2 +- test/cli-stack.js | 2 +- test/cli-start.js | 2 +- test/cli-view.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index 3f52e29..d2cd070 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -import LwsCli from 'lws/lib/cli-app.js' +import LwsCli from 'lws/lib/cli-app.mjs' const cli = new LwsCli() cli.start() diff --git a/test/cli-stack.js b/test/cli-stack.js index dc6a36f..563dce6 100644 --- a/test/cli-stack.js +++ b/test/cli-stack.js @@ -1,4 +1,4 @@ -import LwsCli from 'lws/lib/cli-app.js' +import LwsCli from 'lws/lib/cli-app.mjs' import fetch from 'node-fetch' import TestRunner from 'test-runner' import assert from 'assert' diff --git a/test/cli-start.js b/test/cli-start.js index e3a8459..09b47f5 100644 --- a/test/cli-start.js +++ b/test/cli-start.js @@ -1,6 +1,6 @@ import TestRunner from 'test-runner' import assert from 'assert' -import LwsCli from 'lws/lib/cli-app.js' +import LwsCli from 'lws/lib/cli-app.mjs' import sleep from 'sleep-anywhere' import * as fsMain from 'fs' import path from 'path' diff --git a/test/cli-view.js b/test/cli-view.js index f318963..0bdcf98 100644 --- a/test/cli-view.js +++ b/test/cli-view.js @@ -1,6 +1,6 @@ import TestRunner from 'test-runner' import assert from 'assert' -import CliView from 'lws/lib/view/cli-view.js' +import CliView from 'lws/lib/view/cli-view.mjs' const a = assert.strict const tom = new TestRunner.Tom()