Skip to content
Permalink
Browse files

test(core): fix fixture resolution for core tests

  • Loading branch information
MarshallOfSound committed Nov 24, 2018
1 parent 503f302 commit 7a0dfe9b8bff0551a82506d1639019776e6c2ad7
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/api/core/test/slow/api_spec_slow.ts
@@ -357,7 +357,7 @@ describe(`electron-forge API (with installer=${nodeInstaller})`, () => {
});

it('throws an error when the specified maker doesn\'t support the current platform', async () => {
const makerPath = `${process.cwd()}/test/fixture/maker-unsupported`;
const makerPath = path.resolve(__dirname, '../fixture/maker-unsupported');
await expect(forge.make({
dir,
overrideTargets: [{
@@ -368,7 +368,7 @@ describe(`electron-forge API (with installer=${nodeInstaller})`, () => {
});

it('throws an error when the specified maker doesn\'t implement isSupportedOnCurrentPlatform()', async () => {
const makerPath = `${process.cwd()}/test/fixture/maker-incompatible`;
const makerPath = path.resolve(__dirname, '../fixture/maker-incompatible');
await expect(forge.make({
dir,
overrideTargets: [{

0 comments on commit 7a0dfe9

Please sign in to comment.
You can’t perform that action at this time.