Skip to content

Bump @types/jest from 27.4.1 to 29.5.12 in /notificationworkerlambda/cdk #250

Bump @types/jest from 27.4.1 to 29.5.12 in /notificationworkerlambda/cdk

Bump @types/jest from 27.4.1 to 29.5.12 in /notificationworkerlambda/cdk #250

GitHub Actions / Tests succeeded Aug 6, 2024 in 0s

27 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.EventConsumerSpec.xml 6✅ 2s
football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec.xml 4✅ 13ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.DismissalSpec.xml 1✅ 1s
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.GoalSpec.xml 5✅ 7ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.MatchPhaseEventSpec.xml 5✅ 22ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.ScoreSpec.xml 5✅ 5ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec.xml 1✅ 3ms

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.EventConsumerSpec.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.lib.EventConsumerSpec 6✅ 2s

✅ com.gu.mobile.notifications.football.lib.EventConsumerSpec

✅ An EventConsumer should::generate a kick-off notification
✅ An EventConsumer should::generate half-time notification
✅ An EventConsumer should::generate second half start notification
✅ An EventConsumer should::generate full time notification
✅ An EventConsumer should::generate goal notifications from FootballMatchStatusPayload
✅ An EventConsumer should::generate red card notifications from FootballMatchStatusPayload

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec.xml

4 tests were completed in 13ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec 4✅ 13ms

✅ com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec

✅ A SyntheticMatchEvent generator should::Add id to first timeline event
✅ A SyntheticMatchEvent generator should::Add half-time event if status is HT
✅ A SyntheticMatchEvent generator should::Add second-half event if status is SHS
✅ A SyntheticMatchEvent generator should::Add full-time event if match is result

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.DismissalSpec.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.DismissalSpec 1✅ 1s

✅ com.gu.mobile.notifications.football.models.DismissalSpec

✅ MatchPhaseEvent should::Create a Dismissal event

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.GoalSpec.xml

5 tests were completed in 7ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.GoalSpec 5✅ 7ms

✅ com.gu.mobile.notifications.football.models.GoalSpec

✅ A Goal should::Create a normal goal (home)
✅ A Goal should::Create a normal goal (away)
✅ A Goal should::Create a normal goal in extra time
✅ A Goal should::Create an own goal
✅ A Goal should::Create a penalty

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.MatchPhaseEventSpec.xml

5 tests were completed in 22ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.MatchPhaseEventSpec 5✅ 22ms

✅ com.gu.mobile.notifications.football.models.MatchPhaseEventSpec

✅ MatchPhaseEvent should::Create a Kickoff event from timeline event 0:00
✅ MatchPhaseEvent should::Return none event for timeline event 0:01
✅ MatchPhaseEvent should::Create a fulltime event from full-time
✅ MatchPhaseEvent should::Create a halftime event from half-time
✅ MatchPhaseEvent should::Create a secondhalf event from second-half

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.ScoreSpec.xml

5 tests were completed in 5ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.ScoreSpec 5✅ 5ms

✅ com.gu.mobile.notifications.football.models.ScoreSpec

✅ Score should::calculate correct score for normal goals
✅ Score should::calculate correct score with home own-goal
✅ Score should::calculate correct score with away own-goal
✅ Score should::calculate correct score with home penalty
✅ Score should::calculate correct score with away penalty

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec 1✅ 3ms

✅ com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec

✅ A MatchStatusNotificationBuilder should::Build a notification