We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30dd570 commit a4b2036Copy full SHA for a4b2036
docs/guides/how-to-add-testing-library.mdx
@@ -16,16 +16,16 @@ npm i -D @testplane/testing-library
16
17
2. Include it in the Testplane config in the `prepareBrowser` section:
18
19
-```javascript
20
-// .testplane.conf.js
21
-const { setupBrowser } = require("@testplane/testing-library");
+```typescript
+// testplane.config.ts
+import { setupBrowser } from "@testplane/testing-library";
22
23
-module.exports = {
+export default {
24
prepareBrowser(browser) {
25
setupBrowser(browser);
26
},
27
28
- // other Testplane settings...
+ // other settings for testplane...
29
};
30
```
31
0 commit comments