Skip to content

Commit

Permalink
try try my patience
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Nelson committed Jan 13, 2024
1 parent ba9bae4 commit c317100
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions test/live-template-test.js
Original file line number Diff line number Diff line change
@@ -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'});
Expand Down
6 changes: 2 additions & 4 deletions web-test-runner.config.mjs
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit c317100

Please sign in to comment.