diff --git a/src/index.jsx b/src/index.jsx index 25051b549..5ce006401 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -214,7 +214,7 @@ const { const version = __VERSION__ -export default { +export { init, version, setBarCenter, diff --git a/src/index.spec.jsx b/src/index.spec.jsx index b7a0798cc..e2786ac40 100644 --- a/src/index.spec.jsx +++ b/src/index.spec.jsx @@ -1,5 +1,5 @@ import CozyClient from 'cozy-client' -import cozyBar from './index' +import * as cozyBar from './index' describe('init', () => { beforeEach(() => {