Grep properly for dangerfile fit/fdescribe (#9230)

pull/9234/head
Oliver Günther 4 years ago committed by GitHub
parent 64a6a4501b
commit 2c465ddaca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Dangerfile

@ -1,5 +1,5 @@
# Fail if jasmine specs contain fdescribe or fit
fail("jasmine fdescribe left in tests") if `grep --include '*.spec.ts' -rP 'fdescribe|fit' frontend/src/`.length > 1
fail("jasmine fdescribe/fit left in tests") if `grep --include '*.spec.ts' -rP 'fdescribe\(|fit\(' frontend/src/`.length > 1
# Search for modified components not being made OnPush
git.modified_files

Loading…
Cancel
Save