Browse the study library +
← All practice questions

You need to find every **/*.test.tsx file in the repo. Which built-in tool?

Show answer and explanation

Answer: B

Glob matches file paths/names by pattern ('which files match?'). Grep searches file CONTENTS ('where is this text?').

Glob نمونے سے فائل کے راستے/نام ملاتا ہے ('کون سی فائلیں ملتی ہیں؟')۔ Grep فائل کے اندر کا متن ڈھونڈتا ہے ('یہ متن کہاں ہے؟')۔

One practice question a week

Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.

We only use your email for these updates. See our privacy policy.