Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Oct 23, 2024
1 parent 2de2c14 commit 1ce134c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@hapi/hoek": "^11.0.2",
"mime-db": "^1.52.0"
"mime-db": "^1.53.0"
},
"devDependencies": {
"@hapi/code": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('import()', () => {

it('exposes all methods and classes as named imports', () => {

expect(Object.keys(Mimos)).to.equal([
expect(Object.keys(Mimos).filter((k) => k !== 'module.exports')).to.equal([
'Mimos',
'MimosEntry',
'default'
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Mimos', () => {
charset: 'UTF-8',
compressible: true,
extensions: ['js', 'mjs'],
type: 'application/javascript'
type: 'text/javascript'
});
});

Expand Down

0 comments on commit 1ce134c

Please sign in to comment.