Skip to content

Commit 96d760e

Browse files
committed
rename render to mount in tests
1 parent 09f9dd0 commit 96d760e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@activewidgets/examples": "0.0.1",
2828
"@activewidgets/options": "0.0.9",
2929
"@activewidgets/puppeteer": "0.0.4",
30-
"@activewidgets/testing": "0.0.2",
30+
"@activewidgets/testing": "0.0.3",
3131
"@babel/core": "^7",
3232
"@babel/preset-env": "^7",
3333
"@rollup/plugin-node-resolve": "^6",

test/adapter/react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

2-
import {render as _render, fireEvent, wait, waitForElement} from '@testing-library/react';
2+
import {render, fireEvent, wait, waitForElement} from '@testing-library/react';
33
import {h} from '@activewidgets/components';
44

55

6-
export function render(component, props){
7-
return _render(h(component, props));
6+
export function mount(component, props){
7+
return render(h(component, props));
88
}
99

1010
export {fireEvent, wait, waitForElement};

0 commit comments

Comments
 (0)