Merge pull request #20754 from backstage/freben/win

just a few small windows build fixes
This commit is contained in:
Patrik Oldsberg
2023-10-24 16:01:48 +02:00
committed by GitHub
4 changed files with 14 additions and 5 deletions
@@ -93,7 +93,7 @@ describe('ConfigSources', () => {
targets: [{ type: 'path', target: '/config.yaml' }],
}),
),
).toEqual([{ name: 'FileConfigSource', path: '/config.yaml' }]);
).toEqual([{ name: 'FileConfigSource', path: `${root}config.yaml` }]);
expect(
mergeSources(
@@ -201,9 +201,9 @@ describe('ConfigSources', () => {
]),
),
).toEqual([
{ name: 'FileConfigSource', path: '/a.yaml' },
{ name: 'FileConfigSource', path: '/b.yaml' },
{ name: 'FileConfigSource', path: '/c.yaml' },
{ name: 'FileConfigSource', path: `${root}a.yaml` },
{ name: 'FileConfigSource', path: `${root}b.yaml` },
{ name: 'FileConfigSource', path: `${root}c.yaml` },
]);
});