Feature/pause and play on hero #35
test.yml
on: pull_request
Annotations
4 errors
|
Unit Tests
Process completed with exit code 1.
|
|
src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts > PrivacyPolicyVersion Integration > getPrivacyPolicyVersionFromGit > should throw BuildError when git returns empty string:
src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts#L129
AssertionError: promise resolved "undefined" instead of rejecting
- Expected:
Error {
"message": "rejected promise",
}
+ Received:
undefined
❯ src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts:129:7
|
|
src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts > PrivacyPolicyVersion Integration > getPrivacyPolicyVersionFromGit > should throw BuildError when git command fails:
src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts#L109
AssertionError: promise resolved "undefined" instead of rejecting
- Expected:
Error {
"message": "rejected promise",
}
+ Received:
undefined
❯ src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts:109:7
|
|
src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts > PrivacyPolicyVersion Integration > getPrivacyPolicyVersionFromGit > should return git commit date in YYYY-MM-DD format:
src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts#L63
AssertionError: expected "log" to be called with arguments: [ StringContaining{…} ]
Received:
1st log call:
[
- StringContaining "Privacy policy version set to: 2024-03-15",
+ "✅ Privacy policy version set from git: 2024-03-15",
]
Number of calls: 1
❯ src/integrations/PrivacyPolicyVersion/__tests__/index.spec.ts:63:29
|