We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e92776 commit eac582bCopy full SHA for eac582b
1 file changed
test/unit/utils/crypto-util_test.js
@@ -4,7 +4,7 @@ require('chai').should();
4
describe(cryptoUtil.createHash.name, function () {
5
it('creates a hash by given algorithm', function () {
6
const data = 'client-credentials-grant';
7
- const hash = cryptoUtil.createHash({ data, encoding: 'hex' });
+ const hash = cryptoUtil.createHash({ data, output: 'hex' });
8
hash.should.equal('072726830f0aadd2d91f86f53e3a7ef40018c2626438152dd576e272bf2b8e60');
9
});
10
it('should throw if data is missing', function () {
0 commit comments