Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Forgot the other test lol
  • Loading branch information
Kim-Adeline Miguel
Kim-Adeline Miguel committed Mar 12, 2021
commit c7e2f171eb4bac8e2e73f65f9e65803d38ce7077
4 changes: 3 additions & 1 deletion src/test/common/installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,11 @@ suite('Installer', () => {
}
getNamesAndValues<Product>(Product).forEach((prod) => {
test(`Ensure isInstalled for Product: '${prod.name}' executes the right command`, async function () {
if (new ProductService().getProductType(prod.value) === ProductType.DataScience) {
const productType = new ProductService().getProductType(prod.value);
if (productType === ProductType.DataScience || productType === ProductType.Linter) {
return this.skip();
}

ioc.serviceManager.addSingletonInstance<IModuleInstaller>(
IModuleInstaller,
new MockModuleInstaller('one', false),
Expand Down