We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e19b1 commit 69c51c6Copy full SHA for 69c51c6
test/browser/test.js
@@ -1,11 +1,8 @@
1
-import chai from '../../node_modules/@esm-bundle/chai/esm/chai.js';
+import { expect } from '@esm-bundle/chai';
2
3
/** @type { import('../../src/mqtt').MqttClient }*/
4
const mqtt = window.mqtt
5
6
-/** @type { import('@esm-bundle/chai').expect } */
7
-const expect = chai.expect;
8
-
9
function run(proto, port, cb) {
10
11
describe('MQTT.js browser test with ' + proto.toUpperCase(), () => {
web-test-runner.config.mjs
@@ -42,7 +42,7 @@ export default {
42
playwright: true,
43
concurrency: 10,
44
files: ['./test/browser/test.js'],
45
- nodeResove: true,
+ nodeResolve: true,
46
testFramework: {
47
config: {
48
timeout: '10000',
0 commit comments