From fcd1445ae62b5ecac536d41ec404214f8286ca90 Mon Sep 17 00:00:00 2001 From: Michal Zgliczynski Date: Tue, 10 Dec 2024 16:40:16 +0100 Subject: [PATCH] fix test --- packages/jsts/tests/analysis/analyzer.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/jsts/tests/analysis/analyzer.test.ts b/packages/jsts/tests/analysis/analyzer.test.ts index 85ec8611a5e..a238e234b45 100644 --- a/packages/jsts/tests/analysis/analyzer.test.ts +++ b/packages/jsts/tests/analysis/analyzer.test.ts @@ -19,7 +19,7 @@ import { jsTsInput, parseJavaScriptSourceFile } from '../tools/index.js'; import { Linter, Rule } from 'eslint'; import { describe, beforeEach, it } from 'node:test'; import { expect } from 'expect'; -import { getManifests, toUnixPath } from '../../src/rules/helpers/index.js'; +import { getDependencies, getManifests, toUnixPath } from '../../src/rules/helpers/index.js'; import { setContext } from '../../../shared/src/helpers/context.js'; import { analyzeJSTS, getTelemetry } from '../../src/analysis/analyzer.js'; import { APIError } from '../../../shared/src/errors/error.js'; @@ -28,7 +28,6 @@ import { initializeLinter } from '../../src/linter/linters.js'; import { JsTsAnalysisOutput } from '../../src/analysis/analysis.js'; import { createAndSaveProgram } from '../../src/program/program.js'; import { deserializeProtobuf } from '../../src/parsers/ast.js'; -import { getDependencies } from '../../../../lib/jsts/src/rules/helpers/package-json.js'; const currentPath = toUnixPath(import.meta.dirname);