Config

Create a .specutrc file inside the project root to override the config:

{
	"path": ".",
	"config": ".specutrc",
	"amount": 5,
	"mode": "file",
	"modeArray":
	[
		"file",
		"describe",
		"it"
	],
	"specPattern": "**/*.spec.{js,jsx,ts,tsx}",
	"ignorePattern": "**/node_modules",
	"describeMatch": "describe\\(",
	"itMatch": "it\\(",
	"chunkPrefix": "__",
	"chunkSuffix": "__"
}

Last updated