expect-maptalks
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -162,6 +162,7 @@ 'use strict'; | ||
} | ||
var colorMsg = color ? ', with color [' + color.join() + ']' : ''; | ||
this.assert( | ||
expectation | ||
, function () { return 'expected layer to be painted in center with offset (' + dx + ',' + dy + ') '; } | ||
, function () { return 'expected layer not to be painted in center with offset (' + dx + ',' + dy + ') '; } | ||
, function () { return 'expected layer to be painted in center with offset (' + dx + ',' + dy + ')' + colorMsg; } | ||
, function () { return 'expected layer not to be painted in center with offset (' + dx + ',' + dy + ')' + colorMsg; } | ||
, null); | ||
@@ -168,0 +169,0 @@ return this; |
{ | ||
"name": "expect-maptalks", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A plugin of expect.js(https://github.com/Automattic/expect.js) for maptalks with assertions for Coordinate/GeoJSON/Layer", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
10150
158