Skip to content

Commit f2464f5

Browse files
committed
fix: ai messing up tests
1 parent a606b93 commit f2464f5

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages

packages/salesforcedx-aura-language-server/src/aura-indexer/__tests__/indexer.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ describe('indexer parsing content', () => {
8888
return Promise.resolve([]);
8989
}
9090
});
91-
9291
});
9392

9493
it('aura indexer', async () => {

packages/salesforcedx-lightning-lsp-common/src/__tests__/testUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const findFilesRecursively = (dirPath: string, basePath: string, files: Record<s
121121
if (entry.isDirectory()) {
122122
findFilesRecursively(fullPath, basePath, files);
123123
} else if (entry.isFile()) {
124-
const relativePath = fullPath.substring(basePath.length + 1);
124+
const relativePath = fullPath.substring(basePath.length + 1).replaceAll('\\', '/');
125125
const content = readFileContent(fullPath);
126126
if (content) {
127127
files[relativePath] = content;

0 commit comments

Comments
 (0)