aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/filters/tests-id-filter.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/filters/tests-id-filter.ts')
-rw-r--r--catalog-ui/src/app/filters/tests-id-filter.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/catalog-ui/src/app/filters/tests-id-filter.ts b/catalog-ui/src/app/filters/tests-id-filter.ts
new file mode 100644
index 0000000000..0e5af31169
--- /dev/null
+++ b/catalog-ui/src/app/filters/tests-id-filter.ts
@@ -0,0 +1,11 @@
+export class TestsIdFilter {
+
+ constructor() {
+ let filter = <TestsIdFilter>( (testId:string) => {
+ return testId.replace(/\s/g, '_').toLowerCase();
+ });
+
+ return filter;
+ }
+}
+