Files
DefinitelyTyped/types/jdenticon/jdenticon-tests.ts
2017-03-24 14:27:52 -07:00

12 lines
258 B
TypeScript

import {jdenticon} from "jdenticon";
function testJdenticon() {
if (typeof jdenticon.version !== 'string') {
throw '.version should be of string type.';
}
jdenticon.update('#jdenticon', 'd6d7705392bc7af633328bea8c4c6904', 8);
}
testJdenticon();