Skip to content

Commit c4cc55c

Browse files
author
Balyam muralidhar narendra kumar
committed
addressing review comments
1 parent e5d4b68 commit c4cc55c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

vscode/src/localiser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2023-2024, Oracle and/or its affiliates.
2+
Copyright (c) 2023-2025, Oracle and/or its affiliates.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
File renamed without changes.

vscode/src/test/unit/mocks/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2023-2024, Oracle and/or its affiliates.
2+
Copyright (c) 2023-2025, Oracle and/or its affiliates.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ const replaceImportsWithMocks = (mocks: any) => {
3838

3939
if (request === 'vscode') {
4040
return mocks.vscode;
41-
} else if (request.includes('localiser') && !(_parent?.filename?.includes("localetest.unit.test.ts") || _parent?.filename?.includes("localetest.unit.test.js")) ) {
41+
} else if (request.includes('localiser') && !(_parent?.filename?.includes("localiser.unit.test.ts") || _parent?.filename?.includes("localiser.unit.test.js")) ) {
4242
return mocks.localiser;
4343
}
4444

vscode/src/test/unit/mocks/vscode/mockVscode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2023-2024, Oracle and/or its affiliates.
2+
Copyright (c) 2023-2025, Oracle and/or its affiliates.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

vscode/src/test/unit/mocks/vscode/namespaces/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type VSCode = typeof vscode;
2121
let mockedEnv: typeof vscode.env;
2222
export const mockEnvNamespace = (mockedVSCode: Partial<VSCode> & { mockedEnv?:typeof vscode.env}) => {
2323
mockedEnv = mock<typeof vscode.env>();
24-
mockedVSCode.mockedEnv=mockedEnv;
24+
mockedVSCode.mockedEnv = mockedEnv;
2525
mockedVSCode.env = instance(mockedEnv);
2626
mockTelemetryFields();
2727
}

0 commit comments

Comments
 (0)