We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ljharb
Learn more about funding links in repositories.
Report abuse
includes
1 parent 75dd8fd commit 3aa43cfCopy full SHA for 3aa43cf
test/index.js
@@ -65,7 +65,7 @@ fixtures.valid.ec.forEach(function (f) {
65
priv = Buffer.from(f['private'], 'base64');
66
}
67
68
- (nCrypto.getHashes().includes(f.scheme) ? test : test.skip)(f.message, function (t) {
+ (nCrypto.getHashes().indexOf(f.scheme) >= 0 ? test : test.skip)(f.message, function (t) {
69
var nSign = nCrypto.createSign(f.scheme);
70
var bSign = bCrypto.createSign(f.scheme);
71
0 commit comments