Skip to content

Commit ea73317

Browse files
author
Ben Monro
committed
fix: fixed bug in configure with ClientFunction
1 parent 5998cfd commit ea73317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export async function configure(options, t) {
1919
`
2020
window.DomTestingLibrary.configure(${JSON.stringify(options)});
2121
`;
22-
await ClientFunction(new Function(configFunction))();
22+
await new ClientFunction(new Function(configFunction))();
2323

2424
if (t) {
2525
t.testRun.injectable.scripts.push('/testcafe-testing-library-config.js');

0 commit comments

Comments
 (0)