diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-13 08:16:12 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-13 08:16:52 +0100 |
commit | b2128609ac8159a14224deba399144b3400c8c20 (patch) | |
tree | 4759dfda67c54f6838c3aef0951545ae18bb83bd /thirdparty/preact/test/shared/exports.js | |
parent | 3f0ee289c4a61991d0e75906a9bd949cebb39d20 (diff) | |
download | wallet-core-b2128609ac8159a14224deba399144b3400c8c20.tar.xz |
Finally give in and use React, minor tweeks.
Preact (a minimalistic React alternative) had too many bugs ...
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'); - }); -}); |