MCPcopy Index your code
hub / github.com/devcontainers/cli / commandMarkerTests

Function commandMarkerTests

src/test/testUtils.ts:129–136  ·  view source on GitHub ↗
(cli: string, workspaceFolder: string, expected: { postCreate: boolean; postStart: boolean; postAttach: boolean }, message: string)

Source from the content-addressed store, hash-verified

127 }
128}
129export 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
138export const testSubstitute: SubstituteConfig = value => {
139 if ('id' in value) {

Callers 1

describeTests2Function · 0.90

Calls 1

pathExistsFunction · 0.85

Tested by

no test coverage detected