From 8b2b00af61f4f3b1a42e2a2c545caa39f70c2b04 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Tue, 3 Dec 2024 01:22:06 +0900 Subject: [PATCH] add docs for simple flags --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 797ed49..a1002bc 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,21 @@ describe("Hello, Vitest", t => { }) ``` +You can use simple flags for `skip`, `concurrent`, and `only`. + +``` +Skip.test("This will be skipped", t => { + // ... +}) + +// Use simple flags instead. +test(~skip=true, "This will be skipped", t => { + // ... +}) +``` + +Module bindings will be deprecated and removed in next major (v3) + ## LICENCE MIT