Allow spec to be run multiple times in same runner
This commit is contained in:
parent
359ab2f9b3
commit
f792c720f4
2 changed files with 12 additions and 10 deletions
|
@ -1,11 +1,13 @@
|
|||
const foo = {}
|
||||
exports.setup = function () {
|
||||
const foo = {}
|
||||
|
||||
foo.bar = function () {
|
||||
return delete foo.bar.baz && delete foo.bar
|
||||
foo.bar = function () {
|
||||
return delete foo.bar.baz && delete foo.bar
|
||||
}
|
||||
|
||||
foo.bar.baz = function () {
|
||||
return 3
|
||||
}
|
||||
|
||||
return foo
|
||||
}
|
||||
|
||||
foo.bar.baz = function () {
|
||||
return 3
|
||||
}
|
||||
|
||||
module.exports = foo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue