chore(matchers): pass expected value

This commit is contained in:
Nico Rehwaldt 2020-01-20 14:40:04 +01:00
parent e345664f6e
commit 7d8198dd71
2 changed files with 8 additions and 4 deletions

View File

@ -197,7 +197,8 @@ export default function(chai, utils) {
'to equal \n ' + expectedBoundsStr + 'to equal \n ' + expectedBoundsStr +
'\nbut got\n ' + boundsStr, '\nbut got\n ' + boundsStr,
'expected <' + desc + '> bounds ' + 'expected <' + desc + '> bounds ' +
'not to equal \n ' + expectedBoundsStr 'not to equal \n ' + expectedBoundsStr,
expectedBounds
); );
} }
@ -219,7 +220,8 @@ export default function(chai, utils) {
'to equal \n ' + expectedDimensionsStr + 'to equal \n ' + expectedDimensionsStr +
'\nbut got\n ' + dimensionsStr, '\nbut got\n ' + dimensionsStr,
'expected <' + desc + '> dimensions ' + 'expected <' + desc + '> dimensions ' +
'not to equal \n ' + expectedDimensionsStr 'not to equal \n ' + expectedDimensionsStr,
expectedDimensions
); );
} }
@ -242,7 +244,8 @@ export default function(chai, utils) {
'to equal \n ' + expectedPositionStr + 'to equal \n ' + expectedPositionStr +
'\nbut got\n ' + positionStr, '\nbut got\n ' + positionStr,
'expected <' + desc + '> position ' + 'expected <' + desc + '> position ' +
'not to equal \n ' + expectedPositionStr 'not to equal \n ' + expectedPositionStr,
expectedPosition
); );
} }

View File

@ -158,7 +158,8 @@ export default function(chai, utils) {
'to equal \n ' + expectedWaypointsStr + 'to equal \n ' + expectedWaypointsStr +
'\nbut got\n ' + waypointsStr, '\nbut got\n ' + waypointsStr,
'expected <' + desc + '> ' + 'expected <' + desc + '> ' +
'not to equal \n ' + expectedWaypoints 'not to equal \n ' + expectedWaypoints,
expectedWaypoints
); );
} }