Skip to content

Commit

Permalink
fixup! Create a non-project version of ConfigurationFile.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Dec 3, 2024
1 parent 2f2d7ba commit b545c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/heft-config-file/src/test/ConfigurationFile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ describe('ConfigurationFile', () => {

expect(JSON.stringify(loadedConfigFile)).toEqual(JSON.stringify(expectedConfigFile));
expect(configFileLoader.getObjectSourceFilePath(loadedConfigFile)).toEqual(
nodeJsPath.resolve(__dirname, projectRelativeFilePath)
`${__dirname}/${projectRelativeFilePath}`
);
expect(
configFileLoader.getPropertyOriginalValue({ parentObject: loadedConfigFile, propertyName: 'thing' })
Expand All @@ -219,7 +219,7 @@ describe('ConfigurationFile', () => {

expect(JSON.stringify(loadedConfigFile)).toEqual(JSON.stringify(expectedConfigFile));
expect(configFileLoader.getObjectSourceFilePath(loadedConfigFile)).toEqual(
nodeJsPath.resolve(__dirname, projectRelativeFilePath)
`${__dirname}/${projectRelativeFilePath}`
);
expect(
configFileLoader.getPropertyOriginalValue({ parentObject: loadedConfigFile, propertyName: 'thing' })
Expand Down

0 comments on commit b545c11

Please sign in to comment.