Files
taimed/node_modules/karma-jsdom-launcher/test/test-helper/jsdom-version.js
2025-07-24 17:21:45 +08:00

6 lines
156 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
let { execSync } = require("child_process");
module.exports = {
jsdomMajorVersion: parseInt(execSync("npm ls | grep -o -P '(?<=jsdom@)[0-9]+'"), 10)
};