blob: a20bfdd08c5e23e4b6037862ea0660fc8e2b54bd [file] [log] [blame] [view]
# Test explorer implementation (src/goTest)
## Mapping tests
`TestItem`s themselves cannot be used with `Map`s. For non-primitive (object)
keys, Map uses strict equality. Two objects are only strictly equal to each
other if they are the exact same object. Because of this, `TestItem`s cannot be
used as map keys, as the extension host may provide different objects for the
same test. Therefore, if we want to use `TestItem`s as a map key, we must use
their ID instead.