Add failing spec for missing remote properties
This commit is contained in:
parent
4627311c34
commit
bc13536208
2 changed files with 15 additions and 0 deletions
11
spec/fixtures/module/function-with-missing-properties.js
vendored
Normal file
11
spec/fixtures/module/function-with-missing-properties.js
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
const foo = {}
|
||||
|
||||
foo.bar = function () {
|
||||
return delete foo.bar.baz && delete foo.bar
|
||||
}
|
||||
|
||||
foo.bar.baz = function () {
|
||||
return 3
|
||||
}
|
||||
|
||||
module.exports = foo
|
Loading…
Add table
Add a link
Reference in a new issue