Skip to content

chore(deps): update vitest monorepo #878

chore(deps): update vitest monorepo

chore(deps): update vitest monorepo #878

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test results succeeded Aug 15, 2023 in 1s

Test results ✅

Tests passed successfully

Report Passed Failed Skipped Time
test/TEST-de.codecentric.hc.report.api.AchievementRatesExtKtTest.xml 2✅ 5ms
test/TEST-de.codecentric.hc.report.date.LocalDateExtKtTest.xml 1✅ 3ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml 3✅ 195ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml 4✅ 24ms
test/TEST-de.codecentric.hc.report.HabitServiceTest.xml 1✅ 964ms
test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml 1✅ 19ms
test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml 1✅ 18ms
test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml 1✅ 433ms
test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#2030#20days.xml 2✅ 13ms
test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#207#20days.xml 2✅ 3ms
test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml 4✅ 1s
test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml 4✅ 125ms
test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml 2✅ 209ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml 3✅ 4ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20monthly#20habit.xml 4✅ 19ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20weekly#20habit.xml 4✅ 12ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20tracked#20repetitions#20for#20period.xml 3✅ 4ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest.xml 5✅ 191ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml 8✅ 739ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml 1✅ 629ms
test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml 8✅ 361ms
test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml 1✅ 42ms

✅ test/TEST-de.codecentric.hc.report.api.AchievementRatesExtKtTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.api.AchievementRatesExtKtTest 2✅ 5ms

✅ de.codecentric.hc.report.api.AchievementRatesExtKtTest

✅ should map week rate()
✅ should map month rate()

✅ test/TEST-de.codecentric.hc.report.date.LocalDateExtKtTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.date.LocalDateExtKtTest 1✅ 3ms

✅ de.codecentric.hc.report.date.LocalDateExtKtTest

✅ date range should contain every date()

✅ test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.DateIteratorTest$has next 3✅ 195ms

✅ de.codecentric.hc.report.DateIteratorTest$has next

✅ returns true when next date is before inclusive end date()
✅ returns false when next date is after inclusive end date()
✅ returns true when next date is equal to inclusive end date()

✅ test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.DateIteratorTest$next 4✅ 24ms

✅ de.codecentric.hc.report.DateIteratorTest$next

✅ given day step of 2 and second call, returns two days after start day()
✅ given first call, returns start date()
✅ should throw NoSuchElementException when inclusive end date was exceeded()
✅ given day step of 1 and second call, returns day after start day()

✅ test/TEST-de.codecentric.hc.report.HabitServiceTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.HabitServiceTest 1✅ 964ms

✅ de.codecentric.hc.report.HabitServiceTest

✅ should call habit endpoint()

✅ test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.HabitTrackingServiceTest 1✅ 19ms

✅ de.codecentric.hc.report.HabitTrackingServiceTest

✅ should call habit tracking endpoint with habit ID()

✅ test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportApplicationTests 1✅ 18ms

✅ de.codecentric.hc.report.ReportApplicationTests

✅ contextLoads()

✅ test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportControllerIntegrationTest 1✅ 433ms

✅ de.codecentric.hc.report.ReportControllerIntegrationTest

✅ should return report()

✅ test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#2030#20days.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportPeriodTest$last 30 days 2✅ 13ms

✅ de.codecentric.hc.report.ReportPeriodTest$last 30 days

✅ should return date range from today that includes 30 days()
✅ should include daily, weekly and monthly frequency()

✅ test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#207#20days.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportPeriodTest$last 7 days 2✅ 3ms

✅ de.codecentric.hc.report.ReportPeriodTest$last 7 days

✅ should include daily and weekly frequency()
✅ should return date range from today that includes 7 days()

✅ test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportServiceTest$monthly rate 4✅ 1s

✅ de.codecentric.hc.report.ReportServiceTest$monthly rate

✅ given 3 habits with sum of 3 actual repetitions and 4 scheduled repetitions, should return 0,75()
✅ given monthly rate deactivated, should set monthly rate to null()
✅ given 1 habit with 2 actual repetitions and 4 scheduled repetitions, should return 0,5()
✅ given 1 daily habit with no tracks, should return 0()

✅ test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportServiceTest$weekly rate 4✅ 125ms

✅ de.codecentric.hc.report.ReportServiceTest$weekly rate

✅ given 1 habit with 2 actual repetitions and 4 scheduled repetitions, should return 0,5()
✅ given 1 daily habit with no tracks, should return 0()
✅ given 2 habits with sum of 1 actual repetition and 4 scheduled repetitions, should return 0,25()
✅ given 1 daily, 1 weekly and 1 monthly habit, should not include monthly habit in weekly rate()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitServiceTest$given 1 habit of each schedule frequency with 1 track each 2✅ 209ms

✅ de.codecentric.hc.report.TrackedHabitServiceTest$given 1 habit of each schedule frequency with 1 track each

✅ given daily frequency, return 1 tracked habit with one track$report_test()
✅ given daily, weekly and monthly frequency, return 3 tracked habits with one track each$report_test()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given daily habit 3✅ 4ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given daily habit

✅ given one repetition and 30-day period, should return 30()
✅ given one repetition and 7-day period, should return 7()
✅ given two repetitions and 30-day period, should return 60()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20monthly#20habit.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given monthly habit 4✅ 19ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given monthly habit

✅ given two repetitions and 30-day period, should return 2()
✅ given four repetitions and 7-day period, should return 1()
✅ given one repetition and 30-day period, should return 1()
✅ given one repetition and 7-day period, should return 0()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20weekly#20habit.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given weekly habit 4✅ 12ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given weekly habit

✅ given two repetitions and 30-day period, should return 9()
✅ given two repetitions and 7-day period, should return 2()
✅ given one repetition and 30-day period, should return 4()
✅ given one repetition and 7-day period, should return 1()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20tracked#20repetitions#20for#20period.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get tracked repetitions for period 3✅ 4ms

✅ de.codecentric.hc.report.TrackedHabitTest$get tracked repetitions for period

✅ given two of three tracks are in date range, should return 2$report_test()
✅ given three tracks are in date range, should return 3$report_test()
✅ given one track is in date range, should return 1$report_test()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest 5✅ 191ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest

✅ should not provide header propagation rest template customizer bean when tracing is active()
✅ should configure request scoped header propagation data when tracing is not active()
✅ should inject servlet request interceptor when tracing is not active()
✅ should not inject servlet request interceptor when tracing is active()
✅ should provide header propagation rest template customizer bean when tracing is not active()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest 8✅ 739ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest

✅ [1] header=Authorization
✅ [2] header=x-request-id
✅ [3] header=x-b3-traceid
✅ [4] header=x-b3-spanid
✅ [5] header=x-b3-parentspanid
✅ [6] header=x-b3-sampled
✅ [7] header=x-b3-flags
✅ [8] header=x-ot-span-context

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest 1✅ 629ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest

✅ should set all headers in the outgoing request()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest 8✅ 361ms

✅ de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest

✅ [1] header=Authorization
✅ [2] header=x-request-id
✅ [3] header=x-b3-traceid
✅ [4] header=x-b3-spanid
✅ [5] header=x-b3-parentspanid
✅ [6] header=x-b3-sampled
✅ [7] header=x-b3-flags
✅ [8] header=x-ot-span-context

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest 1✅ 42ms

✅ de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest

✅ [1] header=Authorization