Update backup tests to 996daf691d4162ce
This commit is contained in:
parent
697df7e946
commit
276a145fea
2 changed files with 2 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -194,7 +194,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: 'signalapp/Signal-Message-Backup-Tests'
|
repository: 'signalapp/Signal-Message-Backup-Tests'
|
||||||
ref: 'a18c9146e07441827a9b7c2e54ec0a5e6f2aa5bd'
|
ref: '996daf691d4162ce854845dc883c62adb1a3fe55'
|
||||||
path: 'backup-integration-tests'
|
path: 'backup-integration-tests'
|
||||||
|
|
||||||
- run: xvfb-run --auto-servernum npm run test-electron
|
- run: xvfb-run --auto-servernum npm run test-electron
|
||||||
|
|
|
@ -33,6 +33,7 @@ function patchDeepEqual(method: 'deepEqual' | 'deepStrictEqual'): void {
|
||||||
return originalFn(...args);
|
return originalFn(...args);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
reporters.base.useColors = false;
|
reporters.base.useColors = false;
|
||||||
|
(reporters.base as unknown as { maxDiffSize: number }).maxDiffSize = 0;
|
||||||
error.message = reporters.base.generateDiff(
|
error.message = reporters.base.generateDiff(
|
||||||
inspect(error.actual, { depth: Infinity, sorted: true }),
|
inspect(error.actual, { depth: Infinity, sorted: true }),
|
||||||
inspect(error.expected, { depth: Infinity, sorted: true })
|
inspect(error.expected, { depth: Infinity, sorted: true })
|
||||||
|
|
Loading…
Reference in a new issue