Add tests for setting remote function properties
This commit is contained in:
parent
666a668d91
commit
ec44a5d198
3 changed files with 16 additions and 0 deletions
10
spec/fixtures/module/property.js
vendored
10
spec/fixtures/module/property.js
vendored
|
@ -1 +1,11 @@
|
|||
exports.property = 1127
|
||||
|
||||
function func () {
|
||||
|
||||
}
|
||||
func.property = 'foo'
|
||||
exports.func = func
|
||||
|
||||
exports.getFunctionProperty = () => {
|
||||
return `${func.property}-${process.type}`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue