feat(deps): update Traceur 0.0.74

This commit is contained in:
Vojta Jina
2014-11-06 15:31:17 -08:00
parent a1c6f1bbe9
commit b4ff802e28
5 changed files with 14 additions and 3 deletions

View File

@ -62,6 +62,10 @@ function prettyPrint(value) {
}
if (typeof value === 'object') {
if (value.__assertName) {
return value.__assertName;
}
if (value.map) {
return '[' + value.map(prettyPrint).join(', ') + ']';
}

View File

@ -361,13 +361,13 @@ describe('Traceur', function() {
it('should fail when a value returned', function() {
expect(() => foo('bar'))
.toThrowError('Expected to return an instance of voidType, got "bar"!');
.toThrowError('Expected to return an instance of void, got "bar"!');
});
it('should fail when null returned', function() {
expect(() => foo(null))
.toThrowError('Expected to return an instance of voidType, got null!');
.toThrowError('Expected to return an instance of void, got null!');
});
});
});