Skip to content

Commit

Permalink
chore: prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed May 25, 2023
1 parent 8570925 commit 11863b3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/modules/manager/terraform/lockfile/index.spec.ts
Expand Up @@ -238,7 +238,9 @@ describe('modules/manager/terraform/lockfile/index', () => {

it('update single dependency in subfolder', async () => {
fs.readLocalFile.mockResolvedValueOnce(validLockfile);
fs.findLocalSiblingOrParent.mockResolvedValueOnce('test/.terraform.lock.hcl');
fs.findLocalSiblingOrParent.mockResolvedValueOnce(
'test/.terraform.lock.hcl'
);

mockHash.mockResolvedValueOnce([
'h1:lDsKRxDRXPEzA4AxkK4t+lJd3IQIP2UoaplJGjQSp2s=',
Expand Down Expand Up @@ -273,7 +275,9 @@ describe('modules/manager/terraform/lockfile/index', () => {

it('update multiple dependencies which are not ordered', async () => {
fs.readLocalFile.mockResolvedValue(validLockfile2);
fs.findLocalSiblingOrParent.mockResolvedValueOnce('test/.terraform.lock.hcl');
fs.findLocalSiblingOrParent.mockResolvedValueOnce(
'test/.terraform.lock.hcl'
);

mockHash.mockResolvedValue([
'h1:lDsKRxDRXPEzA4AxkK4t+lJd3IQIP2UoaplJGjQSp2s=',
Expand Down Expand Up @@ -402,7 +406,9 @@ describe('modules/manager/terraform/lockfile/index', () => {

it('do full lock file maintenance with lockfile in subfolder', async () => {
fs.readLocalFile.mockResolvedValueOnce(validLockfile);
fs.findLocalSiblingOrParent.mockResolvedValueOnce('subfolder/.terraform.lock.hcl');
fs.findLocalSiblingOrParent.mockResolvedValueOnce(
'subfolder/.terraform.lock.hcl'
);

mockGetPkgReleases
.mockResolvedValueOnce({
Expand Down

0 comments on commit 11863b3

Please sign in to comment.