hexo/node_modules/node-fingerprint/test.js

12 lines
285 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
'use strict'
import fingerprint from './index'
let test = require('tape')
test('fingerprint', (t) => {
t.plan(2)
t.equal(typeof fingerprint(), 'string', 'fingerprint() should return a string');
t.equal(fingerprint(), fingerprint(), 'fingerprints should match');
})