Skip to content

Commit

Permalink
fix: import mqtt correctly in test
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Aug 2, 2023
1 parent 05265c5 commit 8f15557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require('tape')
const _URL = require('url')
const mqtt = require('../../dist/mqtt.min')
const mqtt = require('../../') // package.json will provide 'dist/mqtt.min.js'
// eslint-disable-next-line
const parsed = _URL.parse(document.URL)
const isHttps = parsed.protocol === 'https:'
Expand Down

0 comments on commit 8f15557

Please sign in to comment.