From 4ddd7b264225a7fe2a6b8f682b83888b25fcca29 Mon Sep 17 00:00:00 2001 From: Podge Date: Fri, 2 Apr 2021 18:38:04 +0100 Subject: [PATCH] modifying CatalogImportClient.test.ts last test to test for a non-Latin text by adding an emoji to the file content field Signed-off-by: Podge --- plugins/catalog-import/src/api/CatalogImportClient.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-import/src/api/CatalogImportClient.test.ts b/plugins/catalog-import/src/api/CatalogImportClient.test.ts index 9d3ca8d22a..ad856bd62b 100644 --- a/plugins/catalog-import/src/api/CatalogImportClient.test.ts +++ b/plugins/catalog-import/src/api/CatalogImportClient.test.ts @@ -307,7 +307,7 @@ describe('CatalogImportClient', () => { await expect( catalogImportClient.submitPullRequest({ repositoryUrl: 'https://github.com/backstage/backstage', - fileContent: 'some content', + fileContent: 'some content 🤖', title: 'A title/message', body: 'A body', }), @@ -333,7 +333,7 @@ describe('CatalogImportClient', () => { repo: 'backstage', path: 'catalog-info.yaml', message: 'A title/message', - content: 'c29tZSBjb250ZW50', + content: 'c29tZSBjb250ZW50IPCfpJY=', branch: 'backstage-integration', }); expect(