Skip to content

Commit

Permalink
update test given devcontainers/templates#231
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer authored Jan 25, 2024
1 parent 9870751 commit 199b6a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/container-templates/containerTemplatesOCI.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ describe('fetchTemplate', async function () {
const files = await fetchTemplate({ output, env: process.env }, selectedTemplate, dest);
assert.ok(files);
// Expected:
// ./environment.yml, ./.devcontainer/.env, ./.devcontainer/Dockerfile, ./.devcontainer/devcontainer.json, ./.devcontainer/docker-compose.yml, ./.devcontainer/noop.txt
assert.strictEqual(files.length, 6);
// ./environment.yml, ./.devcontainer/.env, ./.devcontainer/Dockerfile, ./.devcontainer/devcontainer.json, ./.devcontainer/docker-compose.yml, ./.devcontainer/noop.txt, ./.github/dependabot.yml
assert.strictEqual(files.length, 7);

// Read file modified by templated value
const dockerfile = (await readLocalFile(path.join(dest, '.devcontainer', 'Dockerfile'))).toString();
Expand Down

0 comments on commit 199b6a3

Please sign in to comment.