Add test for utils folder grouped exports

This commit is contained in:
dannyrb 2019-04-30 00:03:47 -04:00
parent bff397d88e
commit d844308e32

11
src/utils/index.test.js Normal file
View 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()
)
})
})