pocomath/test/core/_utils.mjs
Glen Whitney 775bb9ddb7 feat(returnTypeOf): Support template and upper bound types
Also changed the notation for an upper bound template to the more
  readable 'T:number' (instead of 'T (= number', which was supposed to
  look like the non-strict subset relation).
2022-08-24 13:37:32 -04:00

9 lines
255 B
JavaScript

import assert from 'assert'
import * as utils from '../../src/core/utils.mjs'
describe('typeListOfSignature', () => {
it('returns an empty list for the empty signature', () => {
assert.deepStrictEqual(utils.typeListOfSignature(''), [])
})
})