We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84430fd commit 3c06eadCopy full SHA for 3c06ead
tests/e2e/payment.test.js
@@ -73,7 +73,11 @@ beforeEach(async () => {
73
return runSeed()
74
})
75
76
-after( async () => _testServer.close())
+after( async () => {
77
+ if (_testServer && _testServer.close) {
78
+ _testServer.close()
79
+ }
80
+})
81
82
test('POST /payments - should create payment with valid data', async () => {
83
const result = await validatePaymentCreation(paymentPayloads.valid, 'test-valid-1')
0 commit comments