Skip to content

Commit 477c404

Browse files
committed
#9 added more initial expectations
1 parent d913c1a commit 477c404

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

showprepper.sublime-project

+3-8
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,10 @@
2323
},
2424
{
2525
"cmd": [
26-
"node",
27-
"node_modules/karma/bin/karma",
28-
"start",
29-
"--no-colors",
30-
"--no-single-run"
26+
"npm.cmd",
27+
"run",
28+
"test:watch"
3129
],
32-
"env": {
33-
"NODE_ENV": "test"
34-
},
3530
"name": "npm-run-test:watch",
3631
"working_dir": "${project_path}"
3732
},

test/components/show/impressTest.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ describe('show > impress', () => {
77

88
it('should have 5 initial views', () => {
99
expect(appWrapper.find('#impress').props().children.length).to.equal(5)
10+
expect($('body').attr('class')).to.contain('impress-on-step-1')
11+
expect($('#step-1').attr('class').split(' ')).to.include('active')
1012
})
1113
})

0 commit comments

Comments
 (0)