We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8bd019 commit c651f5bCopy full SHA for c651f5b
packages/signals/signals-integration-tests/src/helpers/base-page-object.ts
@@ -54,11 +54,6 @@ export class BasePage {
54
await this.page.route('https://api.segment.io/v1/*', (route, request) => {
55
this.lastTrackingApiReq = request
56
this.trackingApiReqs.push(request.postDataJSON())
57
- // eslint-disable-next-line @typescript-eslint/no-var-requires
58
- require('fs').writeFileSync(
59
- 'tracking-api-req.json',
60
- JSON.stringify(this.trackingApiReqs, null, 2)
61
- )
62
if (request.method().toLowerCase() !== 'post') {
63
throw new Error(`Unexpected method: ${request.method()}`)
64
}
0 commit comments