diff options
Diffstat (limited to 'test/unit/data/things')
-rw-r--r-- | test/unit/data/things/track.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/data/things/track.js b/test/unit/data/things/track.js index 06a4041d..806efbf1 100644 --- a/test/unit/data/things/track.js +++ b/test/unit/data/things/track.js @@ -208,7 +208,8 @@ t.test(`Track.color`, t => { t.equal(track.color, '#123456', `color #4: is own value`); - t.throws(() => { track.color = '#aeiouw'; }, TypeError, + t.throws(() => { track.color = '#aeiouw'; }, + {cause: TypeError}, `color #5: must be set to valid color`); }); |