Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/client/common/configSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export class PythonSettings implements IPythonSettings {
this.experiments = experiments;
}
// Note we directly access experiment settings using workspace service in ExperimentService class.
// Any changes here specific to these settings should propogate their as well.
// Any changes here specific to these settings should propagate their as well.
this.experiments = this.experiments
? this.experiments
: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class CondaInheritEnvPrompt implements IExtensionActivationService {
this.initializeInBackground(resource).ignoreErrors();
}

@traceDecoratorError('Failed to intialize conda inherit env prompt')
@traceDecoratorError('Failed to initialize conda inherit env prompt')
public async initializeInBackground(resource: Uri): Promise<void> {
const show = await this.shouldShowPrompt(resource);
if (!show) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class CondaService implements ICondaService {
}
}

return { path: activatePath, type: 'local' }; // return the default activate script wether it exists or not.
return { path: activatePath, type: 'local' }; // return the default activate script whether it exists or not.
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/client/repl/replCommandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function openInteractiveREPL(
viewColumn = existingReplViewColumn ?? viewColumn;
alreadyExists = true;
} else if (!notebookDocument) {
// Case where NotebookDocument doesnt exist, or
// Case where NotebookDocument doesn't exist, or
// became outdated (untitled.ipynb created without Python extension knowing, effectively taking over original Python REPL's URI)
notebookDocument = await openNotebookDocument('jupyter-notebook');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ suite('Set Interpreter Command', () => {
Telemetry._resetSharedProperties();
});

test('A telemetry event should be sent after manual entry of an intepreter path', async () => {
test('A telemetry event should be sent after manual entry of an interpreter path', async () => {
const state: InterpreterStateArgs = { path: undefined, workspace: undefined };
const multiStepInput = TypeMoq.Mock.ofType<IMultiStepInput<InterpreterStateArgs>>();
multiStepInput
Expand Down
2 changes: 1 addition & 1 deletion src/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ process.on('unhandledRejection', (ex: any, _a) => {
});

/**
* Configure the test environment and return the optoins required to run moch tests.
* Configure the test environment and return the options required to run moch tests.
*/
function configure(): SetupOptions {
process.env.VSC_PYTHON_CI_TEST = '1';
Expand Down
2 changes: 1 addition & 1 deletion src/test/performanceTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/*
Comparing performance metrics is not easy (the metrics can and always get skewed).
One approach is to run the tests multile times and gather multiple sample data.
One approach is to run the tests multiple times and gather multiple sample data.
For Extension activation times, we load both extensions x times, and re-load the window y times in each x load.
I.e. capture averages by giving the extensions sufficient time to warm up.
This block of code merely launches the tests by using either the dev or release version of the extension,
Expand Down
2 changes: 1 addition & 1 deletion src/test/testBootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Final solution:
* Send a message to the socket server with a flag (true/false whether tests passed/failed)
* Socket server (main procecss) will receive the test status flag.
* This will kill the spawned process
* This main process will kill itself with exit code 0 if tests pass succesfully, else 1.
* This main process will kill itself with exit code 0 if tests pass successfully, else 1.
*/

const testFile = process.argv[2];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ suite('Unit Test Configuration Manager (unit)', () => {
);
});

test('Enabling a test product shoud disable other products', async () => {
test('Enabling a test product should disable other products', async () => {
UNIT_TEST_PRODUCTS.filter((item) => item !== product).forEach((productToDisable) => {
configService
.setup((c) => c.disable(TypeMoq.It.isValue(workspaceUri), TypeMoq.It.isValue(productToDisable)))
Expand Down