Commit 055c4f9e authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

Add test

parent 62bc131f
import { something } from './main'
it('correct order', () => {
expect(something).toBe('inner')
expect(globalThis.order).toEqual(['inner', 'module'])
})
import { value } from './module.js'
export const something = 'inner'
;(globalThis.order ??= []).push('inner')
export { something } from './module.js'
;(globalThis.order ??= []).push('main')
export { something } from './inner.js'
export const value = 42
;(globalThis.order ??= []).push('module')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment