Danger: fix test files glob

This commit is contained in:
Alex Gleason 2022-06-21 12:35:56 -05:00
parent e472092bec
commit 504693db83
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -2,7 +2,7 @@ import { danger, warn, message } from 'danger';
const docs = danger.git.fileMatch('docs/**/*.md');
const app = danger.git.fileMatch('app/**/*.(js|ts|tsx)');
const tests = danger.git.fileMatch('*/__tests__/*');
const tests = danger.git.fileMatch('**/__tests__/**');
if (docs.edited) {
message('Thanks - We :heart: our [documentarians](http://www.writethedocs.org/)!');