utils icon indicating copy to clipboard operation
utils copied to clipboard

Add tests for opaque types

Open ritave opened this issue 2 years ago • 0 comments

We've added opaque types in MetaMask/snaps-monorepo#961. Those types are not testable using normal jest, but we can use tsd to write tests for types like we do in https://github.com/MetaMask/utils/blob/main/src/json.test-d.ts.

We should ensure that SemVerVersion and SemVerRange are not assignable to each other.

ritave avatar Nov 18 '22 20:11 ritave