Put in order · Vue.js course · Module 12: Testing & Deploy

Router test - mounting with a plugin

Arrange the code for mounting a component with router in a test:

Items to put in order

  • [router] } })
  • { global:
  • mount(App,
  • { plugins:

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