From 20ffc999f0b1771d805620bd3e25f5a98a8d10cb Mon Sep 17 00:00:00 2001 From: Miko <39791814+okimiko@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:38:39 +0100 Subject: [PATCH] Add `test-docker` for test execution in docker build environment --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ea5e2fb..14f94ae 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "type": "module", "scripts": { "test": "mocha test/**.js --timeout 10000 --exit", + "test-docker": "xvfb-run npm test", "lint:yml": "yamllint --schema=CORE_SCHEMA *.{yml,yaml}", "lint:js": "npm run lint:eslint && npm run lint:prettier", "lint:js:fix": "npm run lint:eslint:fix && npm run lint:prettier:fix",