mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* chai: Add types for chai.use and chai.util Helps developers write Chai plugins; requested in #29922. Closes #29922. * Updated dependencies on Chai - Minimum TS version: 3.0 - Version bumps to TS 3.0 for the following type definitions which depend on chai directly or indirectly: bardjs, chai, chai-almost, chai-arrays, chai-as-promised, chai-datetime, chai-dom, chai-enzyme, chai-fs, chai-fuzzy, chai-jest-snapshot, chai-jquery, chai-json-schema, chai-moment, chai-oequal, chai-roughly, chai-spies, chai-string, chai-subset, chai-things, chai-uuid, chai-webdriverio, chai-xml, d3kit, deep-equal-in-any-order, dirty-chai, ember-mocha, hexo, hexo-log, hexo-util, jsx-chai, karma-chai, karma-chai-sinon, redux-test-utils, and sinon-chai - Use Chai.ChaiPlugin instead of (chai: any, utils: any) => void * Factor out pathval types - Forgot that the pathval types aren't merged yet * Factor out pathval types - Forgot that the pathval types aren't merged yet * Make 'chainingBehavior' non-mandatory
16 lines
483 B
TypeScript
16 lines
483 B
TypeScript
// Type definitions for karma-chai-sinon 0.1.5
|
|
// Project: https://github.com/tubalmartin/karma-chai-sinon
|
|
// Definitions by: Václav Ostrožlík <https://github.com/vasek17>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
// TypeScript Version: 3.0
|
|
|
|
/// <reference types="chai" />
|
|
import Sinon = require('sinon');
|
|
|
|
declare global {
|
|
var should: Chai.Should;
|
|
var expect: Chai.ExpectStatic;
|
|
var assert: Chai.AssertStatic;
|
|
var sinon: Sinon.SinonStatic;
|
|
}
|