Run Prettier on all files
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
getJasmineRequireObj().MapContaining = function(j$) {
|
||||
function MapContaining(sample) {
|
||||
if (!j$.isMap(sample)) {
|
||||
throw new Error('You must provide a map to `mapContaining`, not ' + j$.pp(sample));
|
||||
throw new Error(
|
||||
'You must provide a map to `mapContaining`, not ' + j$.pp(sample)
|
||||
);
|
||||
}
|
||||
|
||||
this.sample = sample;
|
||||
@@ -17,8 +19,8 @@ getJasmineRequireObj().MapContaining = function(j$) {
|
||||
var hasMatch = false;
|
||||
j$.util.forEachBreakable(other, function(oBreakLoop, oValue, oKey) {
|
||||
if (
|
||||
matchersUtil.equals(oKey, key)
|
||||
&& matchersUtil.equals(oValue, value)
|
||||
matchersUtil.equals(oKey, key) &&
|
||||
matchersUtil.equals(oValue, value)
|
||||
) {
|
||||
hasMatch = true;
|
||||
oBreakLoop();
|
||||
|
||||
Reference in New Issue
Block a user