Ran prettier ✨
Signed-off-by: Marcus Crane <marcus.crane@lightspeedhq.com>
This commit is contained in:
@@ -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');
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
+5
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user