Skip to content

Commit 13470b2

Browse files
committed
test(oxc_linter): run from_tsgo_lint_diagnostic tests only with lsp feature flag (#13396)
follow up from #13374
1 parent c215619 commit 13470b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/oxc_linter/src/tsgolint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ pub fn try_find_tsgolint_executable(cwd: &Path) -> Option<PathBuf> {
739739
}
740740

741741
#[cfg(test)]
742+
#[cfg(feature = "language_server")]
742743
mod test {
743744
use oxc_diagnostics::{LabeledSpan, OxcCode, Severity};
744745
use oxc_span::{GetSpan, Span};

0 commit comments

Comments
 (0)