Skip to content
This repository was archived by the owner on Nov 26, 2021. It is now read-only.

Commit 322f60f

Browse files
committed
fix test
1 parent 5ad4268 commit 322f60f

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ Finally, sets the initialized value:
7676

7777
```js
7878
<BasicForm
79-
ref={(ref) => {
80-
this.basicForm = ref;
81-
}}
8279
classNames={{
8380
static: 'form-control',
8481
success: 'valid-success',

test/setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ describe('Test to create a basic form', () => {
1919
);
2020
expect(app.exists()).to.equal(true);
2121
expect(app.node.props.formControl).to.be.an.instanceOf(Object);
22+
expect(app.node.props.formControl.formValues.email).to.be.empty;
2223
});
2324

2425
it('The form attribute is correct', () => {

0 commit comments

Comments
 (0)