Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Safonkin committed Aug 20, 2021
1 parent 5e45b4b commit f3822c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions __tests__/setup-dotnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ describe('setup-dotnet tests', () => {
fs.writeFileSync(globalJsonPath, jsonContents);
}

const version = '3.1'
const installer = new dotnetInstaller.DotnetCoreInstaller(version)
const patchVersion = await installer.resolveVersion(new dotnetInstaller.DotNetVersionInfo(version))
const version = '3.1';
const installer = new dotnetInstaller.DotnetCoreInstaller(version);
const patchVersion = await installer.resolveVersion(
new dotnetInstaller.DotNetVersionInfo(version)
);
await setup.run();

expect(fs.existsSync(path.join(toolDir, 'sdk', patchVersion))).toBe(true);
Expand Down

0 comments on commit f3822c3

Please sign in to comment.