Skip to content

Commit 9b1cd96

Browse files
committed
chore: lint
1 parent a11bbc0 commit 9b1cd96

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

happydom.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { GlobalRegistrator } from "@happy-dom/global-registrator";
1+
import { GlobalRegistrator } from '@happy-dom/global-registrator'
22

3-
GlobalRegistrator.register();
3+
GlobalRegistrator.register()

src/logger.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,17 @@ import {
1111
fsyncSync,
1212
openSync,
1313
readdirSync,
14-
readFileSync,
1514
statSync,
16-
unlinkSync,
1715
writeFileSync,
1816
writeSync,
1917
} from 'node:fs'
20-
import { appendFile, mkdir, readdir, readFile, rename, stat, unlink, writeFile } from 'node:fs/promises'
18+
import { readdir, readFile, rename, stat, unlink, writeFile } from 'node:fs/promises'
2119
import { join } from 'node:path'
2220
import process from 'node:process'
2321
import { pipeline } from 'node:stream/promises'
2422
import { createGunzip, createGzip } from 'node:zlib'
2523
import { config as defaultConfig } from './config'
2624
import { JsonFormatter } from './formatters/json'
27-
import { PrettyFormatter } from './formatters/pretty'
2825
import { TextFormatter } from './formatters/text'
2926
import { chunk, isBrowserProcess } from './utils'
3027

test/performance.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createReadStream } from 'node:fs'
33
import { mkdir, readdir, readFile, rm, stat, writeFile } from 'node:fs/promises'
44
import { join } from 'node:path'
55
import { Logger } from '../src'
6-
import { FSHelper, PerformanceHelper, TestDataGenerator, TimeHelper } from './helpers'
6+
import { FSHelper, TimeHelper } from './helpers'
77

88
const TEST_LOG_DIR = join(process.cwd(), 'test-logs-performance')
99
const PERFORMANCE_TARGETS = {

0 commit comments

Comments
 (0)