diff --git a/src/__tests__/index.spec.js b/src/__tests__/index.spec.js new file mode 100644 index 000000000..f281ab45a --- /dev/null +++ b/src/__tests__/index.spec.js @@ -0,0 +1,23 @@ +import linaria, { css, include, names, styles } from '..'; + +describe('public API', () => { + test('named export css', () => { + expect(css).toBeDefined(); + }); + + test('named export include', () => { + expect(include).toBeDefined(); + }); + + test('named export names', () => { + expect(names).toBeDefined(); + }); + + test('named export styles', () => { + expect(styles).toBeDefined(); + }); + + test('no default export', () => { + expect(linaria).toBeUndefined(); + }); +});