Skip to content
Snippets Groups Projects
Commit af311a69 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore: use path.resolve for tests localDir

parent dc500801
No related branches found
No related tags found
No related merge requests found
import { readFileSync } from 'fs'; import { readFileSync } from 'fs';
import path from 'path';
import * as upath from 'upath'; import * as upath from 'upath';
import { ExtractConfig } from '../common'; import { ExtractConfig } from '../common';
import { extractPackageFile } from './extract'; import { extractPackageFile } from './extract';
...@@ -8,7 +9,7 @@ describe('lib/manager/nuget/extract', () => { ...@@ -8,7 +9,7 @@ describe('lib/manager/nuget/extract', () => {
let config: ExtractConfig; let config: ExtractConfig;
beforeEach(() => { beforeEach(() => {
config = { config = {
localDir: upath.resolve('lib/manager/nuget/__fixtures__'), localDir: path.resolve('lib/manager/nuget/__fixtures__'),
}; };
}); });
it('returns empty for invalid csproj', async () => { it('returns empty for invalid csproj', async () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment