Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 21, 2023
1 parent 198716c commit 0e4368d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test('main', async t => {
await execa(path.join(__dirname, 'cli.js'), [path.join(__dirname, 'fixtures/Fixture.app')], {cwd});
} catch (error) {
// Silence code signing failure
if (!error.message.includes('Code signing failed')) {
if (!error.message.includes('No suitable code signing')) {
throw error;
}
}
Expand All @@ -29,7 +29,7 @@ test('binary plist', async t => {
await execa(path.join(__dirname, 'cli.js'), [path.join(__dirname, 'fixtures/Fixture-with-binary-plist.app')], {cwd});
} catch (error) {
// Silence code signing failure
if (!error.message.includes('Code signing failed')) {
if (!error.message.includes('No suitable code signing')) {
throw error;
}
}
Expand All @@ -44,7 +44,7 @@ test('app without icon', async t => {
await execa(path.join(__dirname, 'cli.js'), [path.join(__dirname, 'fixtures/Fixture-no-icon.app')], {cwd});
} catch (error) {
// Silence code signing failure
if (!error.message.includes('Code signing failed')) {
if (!error.message.includes('No suitable code signing')) {
throw error;
}
}
Expand Down

0 comments on commit 0e4368d

Please sign in to comment.