Skip to content

Commit fede1eb

Browse files
committed
test stubs
1 parent a17ae28 commit fede1eb

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

test/unit/specs/directives.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,15 @@ describe('UNIT: Directives', function () {
570570
})
571571

572572
describe('component', function () {
573-
// body...
573+
574+
it('should work with no args', function () {
575+
assert.ok(false)
576+
})
577+
578+
it('should work with arg (passed-in model from parent)', function () {
579+
assert.ok(false)
580+
})
581+
574582
})
575583

576584
describe('component-id', function () {

test/unit/specs/viewmodel.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,30 @@ describe('UNIT: ViewModel', function () {
213213

214214
})
215215

216+
describe('.$appendTo', function () {
217+
it('should pass', function () {
218+
assert.ok(false)
219+
})
220+
})
221+
222+
describe('.$before', function () {
223+
it('should pass', function () {
224+
assert.ok(false)
225+
})
226+
})
227+
228+
describe('.$after', function () {
229+
it('should pass', function () {
230+
assert.ok(false)
231+
})
232+
})
233+
234+
describe('.$remove', function () {
235+
it('should pass', function () {
236+
assert.ok(false)
237+
})
238+
})
239+
216240
describe('.$destroy', function () {
217241

218242
// since this simply delegates to Compiler.prototype.destroy(),

0 commit comments

Comments
 (0)