@mattmazzola/models
Version:
Models for ConversationLearner
18 lines • 640 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
var KeyGen_1 = require("./KeyGen");
describe('KeyGen', function () {
describe('HashCode', function () {
test('given a string return a unique hash of the string', function () {
var hash1 = KeyGen_1.KeyGen.MakeKey('test1');
var hash2 = KeyGen_1.KeyGen.MakeKey('test2');
expect(typeof hash1).toBe('string');
expect(hash1).not.toBe(hash2);
});
});
});
//# sourceMappingURL=keyGen.test.js.map