Skip to content

Commit

Permalink
chore: update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsjtu committed Jul 9, 2024
1 parent 24a5edb commit 21b7df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lwc-language-server/src/__tests__/lwc-server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ describe('handlers', () => {
});

['.js', '.ts'].forEach(ext => {
it(`updates tsconfig.sfdx.json path mapping when ${ext} file added`, async () => {
it(`updates tsconfig.sfdx.json path mapping when ${ext} file created`, async () => {
// Enable feature flag
mockTypeScriptSupportConfig = true;
await server.onInitialize(initializeParams);
Expand Down Expand Up @@ -433,7 +433,7 @@ describe('handlers', () => {
expect(pathMapping.length).toEqual(12);
});

it(`removes tsconfig.sfdx.json path mapping when ${ext} files removed`, async () => {
it(`removes tsconfig.sfdx.json path mapping when ${ext} files deleted`, async () => {
// Create files before initialized
const watchedFilePath = path.resolve(watchedFileDir, `newlyAddedFile${ext}`);
fsExtra.createFileSync(watchedFilePath);
Expand Down

0 comments on commit 21b7df8

Please sign in to comment.