Merge branch 'matcher-integration-tests'

This commit is contained in:
Steve Gravrock
2020-02-06 18:16:06 -08:00
7 changed files with 322 additions and 17 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
(function(env) {
function hasFunctioningMaps() {
env.hasFunctioningMaps = function() {
if (typeof Map === 'undefined') {
return false;
}
@@ -36,10 +36,10 @@
} catch (e) {
return false;
}
}
};
env.requireFunctioningMaps = function() {
if (!hasFunctioningMaps()) {
if (!env.hasFunctioningMaps()) {
env.pending('Browser has incomplete or missing support for Maps');
}
};
+3 -3
View File
@@ -1,5 +1,5 @@
(function(env) {
function hasFunctioningSets() {
env.hasFunctioningSets = function() {
if (typeof Set === 'undefined') {
return false;
}
@@ -40,10 +40,10 @@
} catch (e) {
return false;
}
}
};
env.requireFunctioningSets = function() {
if (!hasFunctioningSets()) {
if (!env.hasFunctioningSets()) {
env.pending('Browser has incomplete or missing support for Sets');
}
};