UNPKG

teth

Version:

Functional, reactive, pattern matching based, centralized state tree, open source JS library.

11 lines (8 loc) 291 B
/* Copyright 2017 Ronny Reichmann */ /* global test expect */ const auid = require('./auid') test('matcher inline', () => { const testAuidsArr = [...(new Array(999))].map(() => auid()) const testAuidsSet = new Set(testAuidsArr) expect(testAuidsArr.length).toBe(testAuidsSet.size) })