Skip to content

Commit

Permalink
update tests with normalized values
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer committed Jul 24, 2023
1 parent 4fe07b2 commit 41dcd48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/container-features/containerFeaturesOrder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ describe('Feature Dependencies', function () {
assert.deepStrictEqual(actual,
[
{
id: './localFeatureA',
id: './localFeaturea',
options: {
'greeting': 'buongiorno'
}
Expand All @@ -631,7 +631,7 @@ describe('Feature Dependencies', function () {
}
},
{
id: './localFeatureB',
id: './localFeatureb',
options: {
'greeting': 'buongiorno'
}
Expand Down
5 changes: 5 additions & 0 deletions src/test/container-features/featureHelpers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ describe('validate function updateDeprecatedFeaturesIntoOptions', () => {
const updated = updateDeprecatedFeaturesIntoOptions([
{
rawUserFeatureId: 'jupyterlab',
normalizedUserFeatureId: normalizeUserFeatureIdentifier(output, 'jupyterlab'),
options: {}
}
], nullLog);
Expand All @@ -531,10 +532,12 @@ describe('validate function updateDeprecatedFeaturesIntoOptions', () => {
const updated = updateDeprecatedFeaturesIntoOptions([
{
rawUserFeatureId: 'ghcr.io/devcontainers/features/python:1',
normalizedUserFeatureId: normalizeUserFeatureIdentifier(output, 'ghcr.io/devcontainers/features/python:1'),
options: {}
},
{
rawUserFeatureId: 'jupyterlab',
normalizedUserFeatureId: normalizeUserFeatureIdentifier(output, 'jupyterlab'),
options: {}
}
], nullLog);
Expand All @@ -553,10 +556,12 @@ describe('validate function updateDeprecatedFeaturesIntoOptions', () => {
const updated = updateDeprecatedFeaturesIntoOptions([
{
rawUserFeatureId: 'python',
normalizedUserFeatureId: normalizeUserFeatureIdentifier(output, 'python'),
options: {}
},
{
rawUserFeatureId: 'jupyterlab',
normalizedUserFeatureId: normalizeUserFeatureIdentifier(output, 'jupyterlab'),
options: {}
}
], nullLog);
Expand Down

0 comments on commit 41dcd48

Please sign in to comment.