Skip to content

Commit 22ee4c8

Browse files
author
Minggang Wang
committed
shutdown rclnodejs after each case.
Fix #NONE
1 parent 860673b commit 22ee4c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-publisher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ const {message} = rclnodejs;
2121
describe('rclnodejs publisher test suite', function() {
2222
this.timeout(60 * 1000);
2323

24-
before(function() {
24+
beforeEach(function() {
2525
return rclnodejs.init();
2626
});
2727

28-
after(function() {
28+
afterEach(function() {
2929
rclnodejs.shutdown();
3030
});
3131

0 commit comments

Comments
 (0)