File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -40,4 +40,4 @@ function propBuilder(props) {
4040 return _props ;
4141}
4242
43- module . exports = { findReact, findVue, findByPlaywrightLocator } ;
43+ export { findReact , findVue , findByPlaywrightLocator } ;
Original file line number Diff line number Diff line change @@ -39,4 +39,4 @@ const testControllerHolder = {
3939 } ,
4040} ;
4141
42- module . exports = testControllerHolder ;
42+ export default testControllerHolder ;
Original file line number Diff line number Diff line change 1- const { ClientFunction } = require ( 'testcafe' )
1+ import { ClientFunction } from 'testcafe'
22
3- const assert = require ( 'assert' )
4- const fs = require ( 'fs' )
5- const path = require ( 'path' )
6- const { getParamNames } = require ( '../../utils' )
3+ import assert from 'assert'
4+ import fs from 'fs'
5+ import path from 'path'
6+ import { getParamNames } from '../../utils.js'
77
88const createTestFile = ( ) => {
99 assert ( global . output_dir , 'global.output_dir must be set' )
@@ -54,7 +54,7 @@ function getFuncBody(func) {
5454 // TODO: support general functions
5555}
5656
57- module . exports = {
57+ export {
5858 createTestFile ,
5959 mapError ,
6060 createClientFunction ,
You can’t perform that action at this time.
0 commit comments