UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

11 lines (10 loc) 360 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const packageConfig = require(__dirname + '/../../package.json'); const fullVersion = packageConfig.version; module.exports = { full: fullVersion, major: fullVersion.split('.')[0], minor: fullVersion.split('.')[1], patch: fullVersion.split('.').slice(2).join('.') };