Test dangerfile in test and development environment

This commit is contained in:
Oliver Günther
2019-09-09 11:01:37 +02:00
parent 0548b38dbc
commit cace1b1015
4 changed files with 64 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Sometimes it's a README fix, or something like that - which isn't relevant for
# including in a project's CHANGELOG for example
declared_trivial = github.pr_title.include? "#trivial"
fail("jasmine fdescribe left in tests") if `grep --include '*.spec.ts' -rP 'fdescribe|fit' frontend/src/`.length > 1