import { packageInfo } from '@emanimation/strapi-utils'; const pluginInfo = packageInfo(); export default ({ env }) => ({ /** dig out the plugin we are testing */ [pluginInfo.id]: { enabled: true, resolve: pluginInfo.rootPath, config: { // if your plugin requires any configuration, then put it here }, }, // todo also include strapi-plugin-vitest ??? // put any additional plugins that your plugin depends on below or above, but don't change the above configuration otherwise the harness will fail. // eg: add the plugin to the plugin's devDependencies section, then enable it here. // log: { // enabled: true, // resolve: resolve(pluginInfo.rootPath as string, 'node_modules/@emanimation/strapi-plugin-log'), // config: {} // }, });