importing.mjs 217 B

12345678
  1. import Hashids from '../';
  2. import chai from 'chai';
  3. const {assert} = chai;
  4. assert.isFunction(Hashids);
  5. const instance = new Hashids('Not Real', 5, 'ABCDEFGHJKMNPQRTWXY234689');
  6. assert.instanceOf(instance, Hashids);