Ran prettier

Signed-off-by: Marcus Crane <marcus.crane@lightspeedhq.com>
This commit is contained in:
Marcus Crane
2022-08-21 00:10:11 +12:00
parent c628c51b27
commit 83b1217faf
2 changed files with 9 additions and 9 deletions
@@ -298,8 +298,8 @@ describe('fetch:template', () => {
path: 'a-binary-file.png',
}),
brokenSymlink: mockFs.symlink({
path: './not-a-real-file.txt'
})
path: './not-a-real-file.txt',
}),
},
});
@@ -382,9 +382,9 @@ describe('fetch:template', () => {
).resolves.toBe(true);
await expect(
fs.readlink(`${workspacePath}/target/brokenSymlink`)
fs.readlink(`${workspacePath}/target/brokenSymlink`),
).resolves.toEqual('./not-a-real-file.txt');
})
});
});
});
@@ -373,9 +373,9 @@ describe('createPublishGithubPullRequestAction', () => {
mockFs({
[workspacePath]: {
'Makefile': mockFs.symlink({
path: '../../nothing/yet'
})
Makefile: mockFs.symlink({
path: '../../nothing/yet',
}),
},
});
@@ -401,7 +401,7 @@ describe('createPublishGithubPullRequestAction', () => {
{
commit: 'Create my new app',
files: {
'Makefile': {
Makefile: {
content: Buffer.from('../../nothing/yet').toString('utf-8'),
encoding: 'utf-8',
mode: '120000',
@@ -411,7 +411,7 @@ describe('createPublishGithubPullRequestAction', () => {
],
});
});
})
});
describe('with executable file mode 755', () => {
let input: GithubPullRequestActionInput;