diff options
Diffstat (limited to 'thirdparty/preact/test/shared/exports.js')
-rw-r--r-- | thirdparty/preact/test/shared/exports.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/thirdparty/preact/test/shared/exports.js b/thirdparty/preact/test/shared/exports.js deleted file mode 100644 index 7ef3c659b..000000000 --- a/thirdparty/preact/test/shared/exports.js +++ /dev/null @@ -1,21 +0,0 @@ -import preact, { h, Component, render, rerender, options } from '../../src/preact'; -import { expect } from 'chai'; - -describe('preact', () => { - it('should be available as a default export', () => { - expect(preact).to.be.an('object'); - expect(preact).to.have.property('h', h); - expect(preact).to.have.property('Component', Component); - expect(preact).to.have.property('render', render); - expect(preact).to.have.property('rerender', rerender); - expect(preact).to.have.property('options', options); - }); - - it('should be available as named exports', () => { - expect(h).to.be.a('function'); - expect(Component).to.be.a('function'); - expect(render).to.be.a('function'); - expect(rerender).to.be.a('function'); - expect(options).to.exist.and.be.an('object'); - }); -}); |