mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 11:45:49 +00:00
chore: rename test files (#2181)
This commit is contained in:
14
packages/xrpl/test/client/isConnected.test.ts
Normal file
14
packages/xrpl/test/client/isConnected.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { setupClient, teardownClient } from '../setupClient'
|
||||
|
||||
describe('client.isConnected', function () {
|
||||
beforeEach(setupClient)
|
||||
afterEach(teardownClient)
|
||||
|
||||
it('disconnect & isConnected', async function () {
|
||||
assert.strictEqual(this.client.isConnected(), true)
|
||||
await this.client.disconnect()
|
||||
assert.strictEqual(this.client.isConnected(), false)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user