Skip to content

Commit c610534

Browse files
authored
Merge pull request #285 from knockout/pc/chai_sinon_update
Chai update / Karma-Tree-Shaking
2 parents 21e6039 + 0d28b3a commit c610534

19 files changed

Lines changed: 76 additions & 190 deletions

File tree

builds/reference/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"author": "The Knockout Team",
1010
"karma": {
1111
"frameworks": [
12-
"mocha",
13-
"chai"
12+
"mocha"
1413
]
1514
},
1615
"license": "MIT",

builds/reference/spec/bindingGlobalsBehavior.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import tko from '..'
2+
import { expect } from 'chai'
23

34
describe('options.bindingGlobals', () => {
45
it('is not globalThis by default', () => {

builds/reference/spec/iifeBehavior.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*/
44
import '../dist/browser.min'
55

6+
import { assert } from 'chai'
7+
68
describe('tko/build.reference', () => {
79
describe('global', () => {
810
it('exports a ko object', () => {

builds/reference/spec/rootImportBehavior.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
import tkoRoot from '..'
66

7+
import { assert } from 'chai'
8+
79
describe('tko/build.reference', () => {
810
describe('root import', () => {
911
it('exports a ko object', () => {

0 commit comments

Comments
 (0)