hexo/node_modules/node-fingerprint/test.js

12 lines
274 B
JavaScript

'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');
})