Skip to content

Commit a4b2036

Browse files
sonic16xrocketraccoon
andauthored
fix(testplane-docs): fix docs for @testplane/testing-library
Co-authored-by: rocketraccoon <[email protected]>
1 parent 30dd570 commit a4b2036

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guides/how-to-add-testing-library.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ npm i -D @testplane/testing-library
1616

1717
2. Include it in the Testplane config in the `prepareBrowser` section:
1818

19-
```javascript
20-
// .testplane.conf.js
21-
const { setupBrowser } = require("@testplane/testing-library");
19+
```typescript
20+
// testplane.config.ts
21+
import { setupBrowser } from "@testplane/testing-library";
2222

23-
module.exports = {
23+
export default {
2424
prepareBrowser(browser) {
2525
setupBrowser(browser);
2626
},
2727

28-
// other Testplane settings...
28+
// other settings for testplane...
2929
};
3030
```
3131

0 commit comments

Comments
 (0)