vsavkin/guinness — pull request #14 by vsavkin (2014-06-01 02:21:45+00:00)
Title: add `toBeAnInstanceOf` matcher [WIP]

Since `isSubtypeOf` is supported in Dart2JS, the `toBeA` and `toThrowWith(type:)` matchers do not work when compiled to JS. The `toBeAnInstanceOf` matcher is added to deal with it. It does a simpler check, which works in Dart2JS.