(plugins: string[])
| 20 | const testBuildPath = path.join(__dirname, 'build'); |
| 21 | |
| 22 | export const newPluginDir = async (plugins: string[]): Promise<string> => { |
| 23 | const {dir, generator} = testPluginDir(); |
| 24 | for (const pluginName of plugins) { |
| 25 | await buildGoPlugin(generator(), pluginName); |
| 26 | } |
| 27 | return dir; |
| 28 | }; |
| 29 | |
| 30 | export const newTest = async (pluginsDir = ''): Promise<GotifyTest> => { |
| 31 | const port = await getPort(); |
no test coverage detected
searching dependent graphs…