Skip to content

Commit

Permalink
add failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
amilajack committed Feb 9, 2019
1 parent 5361008 commit c3f817d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ ruleTester.run('compat', rule, {
}
],
invalid: [
{
code: 'new MediaRecorder()',
settings: {
browsers: ['ie 9']
},
errors: [
{
message: 'MediaRecorder is not supported in IE 9',
type: 'NewExpression'
}
]
},
{
code: 'new AnimationEvent',
settings: { browsers: ['chrome 40'] },
Expand Down

0 comments on commit c3f817d

Please sign in to comment.