Add spec for remote setter not surfacing error
This commit is contained in:
parent
f5a75c4e87
commit
257f6b142f
2 changed files with 23 additions and 0 deletions
11
spec/fixtures/module/error-properties.js
vendored
Normal file
11
spec/fixtures/module/error-properties.js
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
class Foo {
|
||||
set bar (value) {
|
||||
throw new Error('setting error')
|
||||
}
|
||||
|
||||
get bar () {
|
||||
throw new Error('getting error')
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = new Foo()
|
Loading…
Add table
Add a link
Reference in a new issue