Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/tooling/lintPipeline.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {describe, expect, it} from 'bun:test';
import {describe, expect, it, setDefaultTimeout} from 'bun:test';

import fs from 'node:fs';
import os from 'node:os';
Expand Down Expand Up @@ -30,6 +30,9 @@ import Seatbelt, {SEATBELT_TSV_RELATIVE, parseSeatbeltTSV, resolveSeatbeltOption
import {NO_DEPRECATED_RULE_ID, stratifyMessages, stratifyNoDeprecated} from '../../scripts/lint/processors/StratifyNoDeprecated';
import {LINT_SEVERITY} from '../../scripts/lint/types';

// The first import of oxlint.config.mts loads the full eslint config. On a busy CI machine that import can take longer than Bun's 5 second default.
setDefaultTimeout(30000);

function makeMessage(overrides: Partial<LintMessage> = {}): LintMessage {
return {
filePath: '/tmp/src/file.ts',
Expand Down
Loading