diff --git a/test.js b/test.js index f09a6b7..c10d686 100644 --- a/test.js +++ b/test.js @@ -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; } } @@ -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; } } @@ -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; } }