Skip to content

Commit

Permalink
fix: ERR_UNSUPPORTED_ESM_URL_SCHEME on Windows (#1661)
Browse files Browse the repository at this point in the history
* fix: on Windows, getting ERR_UNSUPPORTED_ESM_URL_SCHEME error when trying to load an adpater

* fix: ERR_UNSUPPORTED_ESM_URL_SCHEME on Windows
  • Loading branch information
joeyguerra authored Aug 13, 2023
1 parent 8a198e2 commit a98b433
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.resolve(__dirname, 'fixtures', 'MockAdapter.mjs')
process.env.HUBOT_ADAPTER = path.join('..', 'test', 'fixtures', 'MockAdapter.mjs')
hubot = require('../bin/hubot.js')
})
after(() => {
Expand Down

0 comments on commit a98b433

Please sign in to comment.