initial commit

This commit is contained in:
dude
2026-09-01 18:33:56 +00:00
commit c24449ee0a
2761 changed files with 302737 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
'use strict';
var expectedImpl
if(process.env.ANY_PROMISE){
// should load registration regardless
expectedImpl = process.env.ANY_PROMISE
require('any-promise/register')(expectedImpl)
} else {
expectedImpl = 'global.Promise'
}
var impl = require('any-promise/implementation')
if(impl !== expectedImpl){
throw new Error('Expecting '+expectedImpl+' got '+impl)
}