refactor(test): inject after_each differently

This commit is contained in:
Lewis Russell
2024-04-09 12:26:16 +01:00
committed by Lewis Russell
parent 889f81c65f
commit 81fc27124b
473 changed files with 478 additions and 476 deletions

View File

@@ -1,6 +1,6 @@
-- Test server -> client RPC scenarios. Note: unlike `rpcnotify`, to evaluate
-- `rpcrequest` calls we need the client event loop to be running.
local t = require('test.functional.testutil')(after_each)
local t = require('test.functional.testutil')()
local clear, eval = t.clear, t.eval
local eq, neq, run, stop = t.eq, t.neq, t.run, t.stop