(cli: string, workspaceFolder: string, expected: { postCreate: boolean; postStart: boolean; postAttach: boolean }, message: string)
| 127 | } |
| 128 | } |
| 129 | export async function commandMarkerTests(cli: string, workspaceFolder: string, expected: { postCreate: boolean; postStart: boolean; postAttach: boolean }, message: string) { |
| 130 | const actual = { |
| 131 | postCreate: await pathExists(cli, workspaceFolder, '/tmp/postCreateCommand.testmarker'), |
| 132 | postStart: await pathExists(cli, workspaceFolder, '/tmp/postStartCommand.testmarker'), |
| 133 | postAttach: await pathExists(cli, workspaceFolder, '/tmp/postAttachCommand.testmarker'), |
| 134 | }; |
| 135 | assert.deepStrictEqual(actual, expected, message); |
| 136 | } |
| 137 | |
| 138 | export const testSubstitute: SubstituteConfig = value => { |
| 139 | if ('id' in value) { |
no test coverage detected