Skip to content

Commit

Permalink
fix package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bamieh committed Jun 24, 2020
1 parent 3ecf97e commit bf590ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/kbn-telemetry-tools/src/tools/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ describe('parseTelemetryRC', () => {
});

it('returns parsed rc file', async () => {
const fixtureDir = path.join(__dirname, '__fixture__');
const config = await parseTelemetryRC(fixtureDir);
const configRoot = path.join(process.cwd(), 'src', 'fixtures', 'telemetry_collectors');
const config = await parseTelemetryRC(configRoot);
expect(config).toStrictEqual([
{
root: fixtureDir,
output: fixtureDir,
exclude: [path.resolve(fixtureDir, './unmapped_collector.ts')],
root: configRoot,
output: configRoot,
exclude: [path.resolve(configRoot, './unmapped_collector.ts')],
},
]);
});
Expand Down

0 comments on commit bf590ee

Please sign in to comment.