Skip to content

Commit

Permalink
[dev/build] fix invalid assertion
Browse files Browse the repository at this point in the history
(cherry picked from commit 214ccfc)
  • Loading branch information
spalger committed Oct 26, 2018
1 parent 8cdd294 commit 366cfca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dev/build/lib/__tests__/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ describe('dev/build/lib/config', () => {
const { config } = await setup({ targetAllPlatforms: false });
const platforms = config.getNodePlatforms();
expect(platforms).to.be.an('array');
expect(platforms).to.have.length(process.platform === 'linux');

This comment has been minimized.

Copy link
@epixa

epixa Oct 26, 2018

Contributor

wat

This comment has been minimized.

Copy link
@spalger

spalger Oct 30, 2018

Contributor

Yeah...

if (process.platform !== 'linux') {
expect(platforms).to.have.length(2);
expect(platforms[0]).to.be(config.getPlatformForThisOs());
Expand Down

0 comments on commit 366cfca

Please sign in to comment.