Skip to content

Commit

Permalink
fixed: commonjs test
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Mar 29, 2024
1 parent 8d22943 commit 3893ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/commonjs.spec.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { expect } = require('chai')
const assert = require('node:assert')

describe('commonjs bundle', () => {
it('commonjs imports work properly', () => {
const { compile } = require('../dist/index.cjs')

expect(() => compile('<test></test>')).to.not.throw()
assert.doesNotThrow(() => compile('<test></test>'))
})
})

0 comments on commit 3893ff4

Please sign in to comment.