Skip to content

Commit

Permalink
Add extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Mar 6, 2019
1 parent c467c34 commit 62cf9d9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/unit/behaviors.html
Original file line number Diff line number Diff line change
Expand Up @@ -403,22 +403,25 @@
{
properties: {
foo: { value: 'a' },
bar: { value: 'a'}
bar: { value: 'a' },
ziz: { value: 'a' }
}
},
{
properties: {
foo: { value: 'b' },
bar: String,
zot: {value: 'b'}
zot: { value: 'b' },
ziz: { value: 'b' }
}
},

],

properties: {
foo: String,
zot: String
zot: String,
ziz: { value: 'c' }
}
});

Expand Down Expand Up @@ -590,6 +593,7 @@
assert.equal(el.foo, 'b');
assert.equal(el.bar, 'a');
assert.equal(el.zot, 'b');
assert.equal(el.ziz, 'c');
});

test('readOnly not applied when property was previously observed', function() {
Expand Down

0 comments on commit 62cf9d9

Please sign in to comment.