replace jest with ava

This commit is contained in:
Robert Brignull 2020-05-04 18:50:13 +01:00
parent 27cc8b23fe
commit 0347b72305
11775 changed files with 84546 additions and 1440575 deletions

16
node_modules/ava/lib/environment-variables.js generated vendored Normal file
View file

@ -0,0 +1,16 @@
'use strict';
function validateEnvironmentVariables(environmentVariables) {
if (!environmentVariables) {
return {};
}
for (const value of Object.values(environmentVariables)) {
if (typeof value !== 'string') {
throw new TypeError('The environmentVariables configuration must be an object containing string values.');
}
}
return environmentVariables;
}
module.exports = validateEnvironmentVariables;