From 77d55b702ba12fb4eafe1b7191275e767a825d49 Mon Sep 17 00:00:00 2001 From: Alastair Lyall Date: Thu, 8 Aug 2024 17:28:43 +0200 Subject: [PATCH] feat(file-preview): allow preview of gherkin feature files (#412) --- AUTHORS.md | 1 + reana-ui/src/util.js | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS.md b/AUTHORS.md index a1068b2a..305386fe 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -2,6 +2,7 @@ The list of contributors in alphabetical order: +- [Alastair Lyall](https://orcid.org/0009-0000-4955-8935) - [Alp Tuna](https://orcid.org/0009-0001-1915-3993) - [Audrius Mecionis](https://orcid.org/0000-0002-3759-1663) - [Daan Rosendal](https://orcid.org/0000-0002-3447-9000) diff --git a/reana-ui/src/util.js b/reana-ui/src/util.js index ecb5c1b7..bc00c5a1 100644 --- a/reana-ui/src/util.js +++ b/reana-ui/src/util.js @@ -286,6 +286,7 @@ const customMime = new Mime(standardMimeTypes, otherMimeTypes, { // See https://github.com/root-project/root/issues/6771 "application/x-root": ["root"], "text/x-python": ["py"], + "text/x-gherkin": ["feature"], }); /**