diff options
Diffstat (limited to 'devel/electron13/files/patch-electron_spec-main_version-bump-spec.ts')
-rw-r--r-- | devel/electron13/files/patch-electron_spec-main_version-bump-spec.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-electron_spec-main_version-bump-spec.ts b/devel/electron13/files/patch-electron_spec-main_version-bump-spec.ts new file mode 100644 index 000000000000..80d3424a2297 --- /dev/null +++ b/devel/electron13/files/patch-electron_spec-main_version-bump-spec.ts @@ -0,0 +1,11 @@ +--- electron/spec-main/version-bump-spec.ts.orig 2021-10-11 17:12:26 UTC ++++ electron/spec-main/version-bump-spec.ts +@@ -43,7 +43,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', () => { + const nightlyPattern = /[0-9.]*(-nightly.(\d{4})(\d{2})(\d{2}))$/g; + const betaPattern = /[0-9.]*(-beta[0-9.]*)/g; + |