Describe the solution you'd like
I've been reading the Testing for internet and I've seen the function killChildren repeatedly defined over many files, such as test/internet/test-dgram-multicast-set-interface-lo.js and test/internet/test-dgram-broadcast-multi-process.js, and other similar patterns
Describe alternatives you've considered
I was wondering if it was a good idea to add a process module inside the common library so to not repeat code inside the tests. Otherwise we could add a Utils library.
Thanks!
Describe the solution you'd like
I've been reading the Testing for internet and I've seen the function
killChildrenrepeatedly defined over many files, such astest/internet/test-dgram-multicast-set-interface-lo.jsandtest/internet/test-dgram-broadcast-multi-process.js, and other similar patternsDescribe alternatives you've considered
I was wondering if it was a good idea to add a process module inside the common library so to not repeat code inside the tests. Otherwise we could add a
Utilslibrary.Thanks!