Skip to content

Commit 69c51c6

Browse files
committed
chore: typo on wtr config
1 parent 85e19b1 commit 69c51c6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

test/browser/test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
import chai from '../../node_modules/@esm-bundle/chai/esm/chai.js';
1+
import { expect } from '@esm-bundle/chai';
22

33
/** @type { import('../../src/mqtt').MqttClient }*/
44
const mqtt = window.mqtt
55

6-
/** @type { import('@esm-bundle/chai').expect } */
7-
const expect = chai.expect;
8-
96
function run(proto, port, cb) {
107

118
describe('MQTT.js browser test with ' + proto.toUpperCase(), () => {

web-test-runner.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
playwright: true,
4343
concurrency: 10,
4444
files: ['./test/browser/test.js'],
45-
nodeResove: true,
45+
nodeResolve: true,
4646
testFramework: {
4747
config: {
4848
timeout: '10000',

0 commit comments

Comments
 (0)