Skip to content

Commit

Permalink
[getDomNode] added getDomNode to common driver
Browse files Browse the repository at this point in the history
  • Loading branch information
plusgut committed Apr 15, 2019
1 parent e0f74a9 commit 2df4904
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-plusnew",
"version": "0.6.2",
"version": "0.6.42",
"description": "adapter for enzyme testsuite to the plusnew framework",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions src/wrapper/PlusnewCommonWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ abstract class PlusnewCommonWrapper {
return this.wrapper.get.apply(this.wrapper, arguments);
}

public getDOMNode(index: number): plusnew.JSX.Element {
return this.wrapper.getDOMNode.apply(this.wrapper, arguments);
}

public hasClass(className: string): boolean {
return this.wrapper.hasClass.apply(this.wrapper, arguments);
}
Expand Down

0 comments on commit 2df4904

Please sign in to comment.