browserstack-capabilities
Advanced tools
Comparing version 0.2.2 to 0.3.0
var aliases = { | ||
ff: "Firefox", | ||
ch: "Chrome", | ||
ie: "IE", | ||
ff: "firefox", | ||
ch: "chrome", | ||
ie: "ie", | ||
win: "Windows", | ||
@@ -6,0 +6,0 @@ mac: "OS X", |
{ | ||
"name": "browserstack-capabilities", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "An easier way to generate multiple capabilities based on JSON filters.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ var expect = require("chai").expect; | ||
os: 'ANY', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'ANY', | ||
@@ -26,3 +26,3 @@ version: 'ANY', | ||
os: 'ANY', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'ANY', | ||
@@ -37,7 +37,7 @@ version: '42', | ||
it("should parse browser name and version without alias", function() { | ||
var generatedCapabilities = bsCaps.parse("Chrome:42"); | ||
var generatedCapabilities = bsCaps.parse("chrome:42"); | ||
var expectedCapabilities = { | ||
os: 'ANY', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'ANY', | ||
@@ -58,3 +58,3 @@ version: '42', | ||
os: 'Windows', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'ANY', | ||
@@ -73,3 +73,3 @@ version: 'ANY', | ||
os: 'Windows', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'ANY', | ||
@@ -88,3 +88,3 @@ version: '42', | ||
os: 'Windows', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: '10', | ||
@@ -103,3 +103,3 @@ version: 'ANY', | ||
os: 'Windows', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: '10', | ||
@@ -114,7 +114,7 @@ version: '42', | ||
it("should parse browser name/version and os/version without aliases", function() { | ||
var generatedCapabilities = bsCaps.parse("Chrome:42@Windows:XP"); | ||
var generatedCapabilities = bsCaps.parse("chrome:42@Windows:XP"); | ||
var expectedCapabilities = { | ||
os: 'Windows', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'XP', | ||
@@ -134,3 +134,3 @@ version: '42', | ||
os: 'ANY', | ||
browserName: 'Chrome', | ||
browserName: 'chrome', | ||
os_version: 'ANY', | ||
@@ -141,3 +141,3 @@ version: 'ANY', | ||
os: 'ANY', | ||
browserName: 'Firefox', | ||
browserName: 'firefox', | ||
os_version: 'ANY', | ||
@@ -144,0 +144,0 @@ version: 'ANY', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0