Skip to content

Commit

Permalink
fix: on Windows, getting ERR_UNSUPPORTED_ESM_URL_SCHEME error when tr…
Browse files Browse the repository at this point in the history
…ying to load an adpater (#1660)
  • Loading branch information
joeyguerra authored Aug 13, 2023
1 parent 85db19b commit 8a198e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hubot_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { TextMessage, User } = require('../index.js')
describe('hubot', () => {
let hubot
before(() => {
process.env.HUBOT_ADAPTER = path.join(__dirname, './fixtures/MockAdapter.mjs')
process.env.HUBOT_ADAPTER = path.resolve(__dirname, 'fixtures', 'MockAdapter.mjs')
hubot = require('../bin/hubot.js')
})
after(() => {
Expand Down

0 comments on commit 8a198e2

Please sign in to comment.