From 504693db83cc82f3bf54bcc0c3e55e75a96c7057 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 21 Jun 2022 12:35:56 -0500 Subject: [PATCH] Danger: fix test files glob --- dangerfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerfile.ts b/dangerfile.ts index cf842bb8d..4a25f80f7 100644 --- a/dangerfile.ts +++ b/dangerfile.ts @@ -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/)!');