@pumpkin-plugins/test-harness API / vitest / definePluginVitestConfig
Function: definePluginVitestConfig()
definePluginVitestConfig():
UserConfig
Defined in: vitest.ts:12
Standard vitest config for a plugin package (run from the package directory):
unit: src/**/*.test.ts, no server neededintegration: test/**/*.itest.ts, runs against a real Pumpkin (see startPumpkin) Also defines__PLUGIN_VERSION__from package.json, like the build does.
Returns
UserConfig