We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b670e7 commit 9f29b35Copy full SHA for 9f29b35
2 files changed
.gitignore
@@ -1,2 +1,7 @@
1
node_modules
2
-lib
+legit-tests.js
3
+dom.js
4
+middleware.js
5
+middleware
6
+no-dom.js
7
+tests.js
tests/no-dom.jsx
@@ -0,0 +1,15 @@
+import Test from '../src/no-dom'
+import {Find} from '../src/middleware'
+import { expect } from 'chai';
+
+import TestComponent from './component'
+describe('no dom', () => {
8
9
+ it('should render the component', () => {
10
+ Test(<TestComponent test="wow"/>, {shallow: true})
11
+ .test(function() {
12
+ expect(this.instance).to.be.ok
13
+ })
14
+ });
15
+});
0 commit comments