Skip to content

Commit

Permalink
lint with testUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Oct 13, 2022
1 parent e39ff44 commit d409466
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api/core/test/slow/api_spec_slow.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createDefaultCertificate } from '@electron-forge/maker-appx';
import { ensureTestDirIsNonexistent, expectProjectPathExists } from '@electron-forge/test-utils';
import { ensureTestDirIsNonexistent, expectLintToPass, expectProjectPathExists } from '@electron-forge/test-utils';
import { execSync } from 'child_process';
import { expect } from 'chai';
import { ForgeConfig, IForgeResolvableMaker } from '@electron-forge/shared-types';
Expand Down Expand Up @@ -78,7 +78,7 @@ for (const nodeInstaller of ['npm', 'yarn']) {
});

describe('lint', () => {
it('should initially pass the linting process', () => forge.lint({ dir }));
it('should initially pass the linting process', () => expectLintToPass(dir));
});

after(() => fs.remove(dir));
Expand Down Expand Up @@ -116,7 +116,7 @@ for (const nodeInstaller of ['npm', 'yarn']) {
});

describe('lint', () => {
it('should initially pass the linting process', () => forge.lint({ dir }));
it('should initially pass the linting process', () => expectLintToPass(dir));
});

after(async () => {
Expand Down

0 comments on commit d409466

Please sign in to comment.