test-drive
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -15,2 +15,3 @@ "use strict"; | ||
var sinonChai = require("sinon-chai"); | ||
var chaiStyle = require("chai-style"); | ||
var layout_1 = require("./layout"); | ||
@@ -24,2 +25,3 @@ exports.layout = layout_1.default; | ||
chai.use(chaiDom); | ||
chai.use(chaiStyle); | ||
} | ||
@@ -26,0 +28,0 @@ var expect = Object.assign(chai.expect.bind(chai), chai.expect); |
@@ -37,3 +37,6 @@ type VerticalAlignment = 'top' | 'center' | 'bottom'; | ||
above(value: number | Element): Assertion; | ||
// chai-style | ||
style(styleName: string, styleValue?: string): Assertion; | ||
} | ||
} |
{ | ||
"name": "test-drive", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Opinionated library for writing web component tests", | ||
@@ -25,2 +25,3 @@ "main": "./dist/src/index.js", | ||
"chai-dom": "^1.5.0", | ||
"chai-style": "^1.0.1", | ||
"dom-matches": "^2.0.0", | ||
@@ -27,0 +28,0 @@ "sinon": "^2.4.1", |
@@ -9,2 +9,3 @@ /// <reference path="../matchers.d.ts" /> | ||
import sinonChai = require('sinon-chai'); | ||
import chaiStyle = require('chai-style'); | ||
import layout from './layout'; | ||
@@ -17,2 +18,3 @@ chai.use(layout); | ||
chai.use(chaiDom); | ||
chai.use(chaiStyle); | ||
} | ||
@@ -19,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
67618
953
12
+ Addedchai-style@^1.0.1
+ Addedchai-style@1.0.3(transitive)