From c31710000dd38b65066f512c20ee79768365f371 Mon Sep 17 00:00:00 2001 From: Chris Nelson Date: Sat, 13 Jan 2024 18:59:00 -0500 Subject: [PATCH] try try my patience --- test/live-template-test.js | 3 +-- web-test-runner.config.mjs | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test/live-template-test.js b/test/live-template-test.js index 8576c07..9231f7d 100644 --- a/test/live-template-test.js +++ b/test/live-template-test.js @@ -1,9 +1,8 @@ -import '../src/live-template'; import { expect } from "@esm-bundle/chai"; import { fixture } from '@open-wc/testing'; import sinon from 'sinon'; -import { Channel } from 'phoenix'; import LiveState from 'phx-live-state'; +import '../src/live-template'; const setupLiveState = (el) => { el.liveState = new LiveState({url: 'ws://localhost:4000', topic: 'foo'}); diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs index 08bc786..d9af719 100644 --- a/web-test-runner.config.mjs +++ b/web-test-runner.config.mjs @@ -1,15 +1,13 @@ // import { playwrightLauncher } from '@web/test-runner-playwright'; -const filteredLogs = ['Running in dev mode', 'lit-html is in dev mode']; +const filteredLogs = ['Running in dev mode', 'Lit is in dev mode']; export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({ /** Test files to run */ files: 'test/**/*test.js', /** Resolve bare module imports */ - nodeResolve: { - exportConditions: ['browser', 'development'], - }, + nodeResolve: true, /** Filter out lit dev mode logs */ filterBrowserLogs(log) {