test.js 274 B

1234567891011
  1. 'use strict'
  2. import fingerprint from './index'
  3. let test = require('tape')
  4. test('fingerprint', (t) => {
  5. t.plan(2)
  6. t.equal(typeof fingerprint(), 'string', 'fingerprint() should return a string');
  7. t.equal(fingerprint(), fingerprint(), 'fingerprints should match');
  8. })