Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 2e9f7b3

Browse files
committed
style: disable no-console warnings in LongResend test.
1 parent 7fbab70 commit 2e9f7b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/flakey/LongResend.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ describe('LongResend', () => {
124124
if (count % 1000 === 0) {
125125
const { rss } = process.memoryUsage()
126126
rssValues.push(rss)
127+
// eslint-disable-next-line no-console
127128
console.info({
128129
msg,
129130
count,
@@ -144,6 +145,7 @@ describe('LongResend', () => {
144145
const mean = rssValues.reduce((a, b) => a + b, 0) / rssValues.length
145146
const median = rssValues[Math.floor(rssValues.length / 2)]
146147
const variance = Math.sqrt(rssValues.reduce((a, b) => a + ((b - mean) ** 2), 0) / rssValues.length)
148+
// eslint-disable-next-line no-console
147149
console.info('done', {
148150
max: prettyBytes(max),
149151
min: prettyBytes(min),

0 commit comments

Comments
 (0)