Skip to content

Latest commit

History

History
35 lines (24 loc) 路 1.19 KB

File metadata and controls

35 lines (24 loc) 路 1.19 KB

Testing Vue.js components

Translations: Fran莽ais

Dependencies

Status

This recipe relied on legacy require() hooks. AVA is ESM-only, so this setup is no longer supported.

Precompile your Vue components before running AVA, or use tooling that provides an ESM loader for .vue files.

Coverage reporting

Follow the coverage reporting recipe, additionally adding the .vue extension to the c8 config to instrument .vue files.

{
	"c8": {
		"extension": [
			".js",
			".vue"
		]
	}
}