freebsd-ports/devel/electron26/files/patch-electron_spec_version-bump-spec.ts

12 lines
806 B
TypeScript
Raw Normal View History

--- electron/spec/version-bump-spec.ts.orig 2023-01-24 16:58:16 UTC
+++ electron/spec/version-bump-spec.ts
@@ -92,7 +92,7 @@ describe('version-bumper', () => {
// On macOS Circle CI we don't have a real git environment due to running
// gclient sync on a linux machine. These tests therefore don't run as expected.
- ifdescribe(!(process.platform === 'linux' && process.arch.indexOf('arm') === 0) && process.platform !== 'darwin')('nextVersion', () => {
+ ifdescribe(!((process.platform === 'linux' || process.platform === 'freebsd') && process.arch.indexOf('arm') === 0) && process.platform !== 'darwin')('nextVersion', () => {
describe('bump versions', () => {
const nightlyPattern = /[0-9.]*(-nightly.(\d{4})(\d{2})(\d{2}))$/g;
const betaPattern = /[0-9.]*(-beta[0-9.]*)/g;