Skip to content

Commit

Permalink
test(core): set makeVersionWinStoreCompatible for appx integration te…
Browse files Browse the repository at this point in the history
…sting
  • Loading branch information
malept committed Dec 4, 2019
1 parent 33a68b0 commit 0aafbf6
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions packages/api/core/test/slow/api_spec_slow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,21 @@ describe(`electron-forge API (with installer=${nodeInstaller})`, () => {
return maker.isSupportedOnCurrentPlatform() === good
&& maker.externalBinariesExist() === good;
})
.map((makerPath) => () => ({
name: makerPath,
platforms: [process.platform],
config: {
devCert,
},
}));
.map((makerPath) => () => {
const makerDefinition = {
name: makerPath,
platforms: [process.platform],
config: {
devCert,
},
};

if (process.platform === 'win32') {
(makerDefinition.config as any).makeVersionWinStoreCompatible = true;
}

return makerDefinition;
});
}

const goodMakers = getMakers(true);
Expand Down

0 comments on commit 0aafbf6

Please sign in to comment.