Add test for utils folder grouped exports
This commit is contained in:
parent
bff397d88e
commit
d844308e32
11
src/utils/index.test.js
Normal file
11
src/utils/index.test.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import * as utils from './index.js'
|
||||||
|
|
||||||
|
describe('utils', () => {
|
||||||
|
it('has the expected exports', () => {
|
||||||
|
const utilExports = Object.keys(utils).sort()
|
||||||
|
|
||||||
|
expect(utilExports).toEqual(
|
||||||
|
['getUserManagerForOpenIdConnectClient', 'initWebWorkers'].sort()
|
||||||
|
)
|
||||||
|
})
|
||||||
|
})
|
||||||
Loading…
Reference in New Issue
Block a user