From dbfac8dfe9aac4f1101b250ab55c02c180f7216b Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 17 Oct 2022 09:32:50 +0200 Subject: [PATCH] Mark jest peerDependency as optional Given that the package works with other runners like vitest as well, we should mark it as optional. --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 2ea7a8ed..96988fe3 100644 --- a/package.json +++ b/package.json @@ -127,5 +127,10 @@ }, "peerDependencies": { "jest": ">=27.2.5" + }, + "peerDependenciesMeta": { + "jest": { + "optional": true + } } }