Skip to content

Commit

Permalink
Merge pull request #187 from kirovboris/fix_build
Browse files Browse the repository at this point in the history
fix: build
  • Loading branch information
kirovboris authored May 13, 2022
2 parents 6f4b03d + 84afea9 commit 7613f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "testcafe-react-selectors",
"version": "5.0.0",
"version": "5.0.1",
"description": "ReactJS selectors for TestCafe",
"repository": "https://github.com/DevExpress/testcafe-react-selectors",
"main": "lib/index",
Expand Down
6 changes: 3 additions & 3 deletions src/index.js.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*global document window*/
import { Selector, ClientFunction } from 'testcafe';
const { Selector, ClientFunction } = require('testcafe');

export const ReactSelector = Selector(selector => {
exports.ReactSelector = Selector(selector => {
const getRootElsReact15 = {{{getRootElsReact15}}}
const getRootElsReact16to18 = {{{getRootElsReact16to18}}}
const selectorReact15 = {{{selectorReact15}}}
Expand Down Expand Up @@ -223,4 +223,4 @@ export const ReactSelector = Selector(selector => {
}
}, { returnDOMNodes: true });

export const waitForReact = {{{waitForReact}}};
exports.waitForReact = {{{waitForReact}}};

0 comments on commit 7613f05

Please sign in to comment.