function getInjectionTest ({ jsonEntry, json, ctx }) {
  const ref = `wrapper.vm.${ jsonEntry }`
  const target = jsonEntry.substring(3) // strip '$q.'

  if (json.props?.[ target ] !== void 0) {
    return getTypeTest({
      jsonEntry: json.props[ target ],
      ref,
      indent: testIndent
    })
  }

  // we're sniffing... we might make a wrong assumption
  if (json.methods?.create !== void 0) {
    return `expect(${ ctx.camelCaseName }.create).toBe(${ ref })`
  }

  return `expect(${ ctx.camelCaseName }).toMatchObject(${ ref })`
}
Make sure that the below array is in sync with
/ui/src/install-quasar.js > "autoInstalledPlugins"