Skip to content

Commit

Permalink
Lint e2e tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
saul-jb committed Mar 25, 2024
1 parent 8c2107a commit 4a800a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/e2e-tests/test/utils/run-fuse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async (name: string, path: string, group: string): Promise<{ star
const promise = new DeferredPromise<void>()

const listener = (chunk: Uint8Array): void => {
if (uint8ArrayToString(chunk).includes('INIT')) {
if (uint8ArrayToString(chunk).includes('INIT') === true) {
promise.resolve()
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e-tests/test/utils/run-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default async (name: string): Promise<{ start(): Promise<void>, stop(): P
const promise = new DeferredPromise<void>()

const listener = (chunk: Uint8Array): void => {
if (uint8ArrayToString(chunk).includes('started')) {
if (uint8ArrayToString(chunk).includes('started') === true) {
promise.resolve()
}
}
Expand All @@ -56,7 +56,7 @@ export default async (name: string): Promise<{ start(): Promise<void>, stop(): P
const promise = new DeferredPromise<void>()

const listener = (chunk: Uint8Array): void => {
if (uint8ArrayToString(chunk).includes('exiting...')) {
if (uint8ArrayToString(chunk).includes('exiting...') === true) {
promise.resolve()
}
}
Expand Down

0 comments on commit 4a800a8

Please sign in to comment.