Skip to content

Commit bfda89f

Browse files
committed
Fix repo slug test formatting
1 parent b30a774 commit bfda89f

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflow-scripts/__tests__/createDraftRelease-test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/react/rea
274274
);
275275
expect(response).toEqual({
276276
id: 1,
277-
html_url:
278-
'https://github.com/react/react-native/releases/tag/v0.77.1',
277+
html_url: 'https://github.com/react/react-native/releases/tag/v0.77.1',
279278
});
280279
});
281280

@@ -327,8 +326,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/react/rea
327326
);
328327
expect(response).toEqual({
329328
id: 1,
330-
html_url:
331-
'https://github.com/react/react-native/releases/tag/v0.77.1',
329+
html_url: 'https://github.com/react/react-native/releases/tag/v0.77.1',
332330
});
333331
});
334332

.github/workflow-scripts/__tests__/generateChangelog-test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,7 @@ N/A`;
202202
it('Returns the pr url', async () => {
203203
const currentVersion = '0.79.0-rc5';
204204
const token = 'token';
205-
const expectedPrURL =
206-
'https://github.com/react/react-native/pulls/1234';
205+
const expectedPrURL = 'https://github.com/react/react-native/pulls/1234';
207206

208207
const returnedObject = {
209208
status: 201,

0 commit comments

Comments
 (0)