From 3e6668e23e602120adcd5b7d5161f860ec95ec60 Mon Sep 17 00:00:00 2001 From: Hogo Date: Mon, 15 Jan 2024 14:12:50 +0100 Subject: [PATCH] docs: Add default test name tip (#4832) --- docs/guide/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide/index.md b/docs/guide/index.md index a793c90b2..0d95293de 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -62,6 +62,10 @@ test('adds 1 + 2 to equal 3', () => { }) ``` +::: tip +By default, tests must contain ".test." or ".spec." in their file name. +::: + Next, in order to execute the test, add the following section to your `package.json`: ```json -- 2.51.2