Merge pull request #12490 from DefinitelyTyped/sinon

Sinon is globally available by a lowercase `sinon` variable, not `Sinon`
This commit is contained in:
Andy
2016-11-16 09:59:33 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
/// <reference types="sinon"/>
function testResolve() {
Sinon.stub().resolves('test val');
sinon.stub().resolves('test val');
}
function testReject() {
Sinon.stub().rejects('test val');
sinon.stub().rejects('test val');
}
testResolve();
+1 -1
View File
@@ -437,4 +437,4 @@ declare namespace Sinon {
declare var Sinon: Sinon.SinonStatic;
export = Sinon;
export as namespace Sinon;
export as namespace sinon;