Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
paulacamargo25 committed Aug 6, 2024
1 parent 56e2c2a commit da29fb5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
17 changes: 9 additions & 8 deletions src/test/unittest/configuration/resolvers/attach.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,28 +578,28 @@ getInfoPerOS().forEach(([osName, osType, path]) => {
{
variablePresentation: {},
variablePresentationSetting: {
"class": "inline"
class: 'inline',
},
expectedResult: {},
},
{
variablePresentation: {
"class": "inline"
class: 'inline',
},
variablePresentationSetting: {
"class": "hide"
class: 'hide',
},
expectedResult: {
"class": "inline"
class: 'inline',
},
},
{
variablePresentation: undefined,
variablePresentationSetting: {
"class": "inline"
class: 'inline',
},
expectedResult: {
"class": "inline"
class: 'inline',
},
},
];
Expand All @@ -623,8 +623,9 @@ getInfoPerOS().forEach(([osName, osType, path]) => {
debugOptions,
variablePresentation: testParams.variablePresentation,
});
expect(debugConfig).to.have.property('variablePresentation').that.deep.equals(testParams.expectedResult); // Corrected to use deep.equals

expect(debugConfig)
.to.have.property('variablePresentation')
.that.deep.equals(testParams.expectedResult); // Corrected to use deep.equals
});
});

Expand Down
17 changes: 9 additions & 8 deletions src/test/unittest/configuration/resolvers/launch.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -815,28 +815,28 @@ getInfoPerOS().forEach(([osName, osType, path]) => {
{
variablePresentation: {},
variablePresentationSetting: {
"class": "inline"
class: 'inline',
},
expectedResult: {},
},
{
variablePresentation: {
"class": "inline"
class: 'inline',
},
variablePresentationSetting: {
"class": "hide"
class: 'hide',
},
expectedResult: {
"class": "inline"
class: 'inline',
},
},
{
variablePresentation: undefined,
variablePresentationSetting: {
"class": "inline"
class: 'inline',
},
expectedResult: {
"class": "inline"
class: 'inline',
},
},
];
Expand All @@ -854,8 +854,9 @@ getInfoPerOS().forEach(([osName, osType, path]) => {
...launch,
variablePresentation: testParams.variablePresentation,
});
expect(debugConfig).to.have.property('variablePresentation').that.deep.equals(testParams.expectedResult); // Corrected to use deep.equals

expect(debugConfig)
.to.have.property('variablePresentation')
.that.deep.equals(testParams.expectedResult); // Corrected to use deep.equals
});
});

Expand Down

0 comments on commit da29fb5

Please sign in to comment.