Skip to content

Commit 5171102

Browse files
committed
update testing
1 parent 1da16d6 commit 5171102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ describe('library', function () {
3333
componentDidMount() {
3434
const { style } = findDOMNode(this);
3535

36-
assert.equal(parseInt(domNode.style.width, 10), defaultValue);
36+
assert.equal(parseInt(style.width, 10), defaultValue);
3737
this.state.anim.setValue(updatedValue);
38-
assert.equal(parseInt(domNode.style.width, 10), updatedValue);
38+
assert.equal(parseInt(style.width, 10), updatedValue);
3939
done();
4040
}
4141

0 commit comments

Comments
 (0)