Click in order · Vue.js course · Module 9: Composables & VueUse

Assertion in a Composable Test

Arrange a correct assertion checking a ref value:

Items to click

  • expect(
  • .value
  • ).toBe(10)
  • result.count

You can check the correct answer by solving this task in the CodeWorlds game.