mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-14 17:45:48 +00:00
Merge branch 'transia-hooks' into iouescrow-tmp
This commit is contained in:
@@ -1,11 +1,6 @@
|
|||||||
import { assert } from 'chai'
|
import { assert } from 'chai'
|
||||||
|
|
||||||
import {
|
import { calculateHookOn, hexHookParameters, TTS } from '../../src'
|
||||||
calculateHookOn,
|
|
||||||
hexNamespace,
|
|
||||||
hexHookParameters,
|
|
||||||
TTS,
|
|
||||||
} from '../../src'
|
|
||||||
|
|
||||||
describe('test hook on', function () {
|
describe('test hook on', function () {
|
||||||
it('invalid', function () {
|
it('invalid', function () {
|
||||||
@@ -31,16 +26,6 @@ describe('test hook on', function () {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('test hook namespace', function () {
|
|
||||||
it('basic', async function () {
|
|
||||||
const result = await hexNamespace('starter')
|
|
||||||
assert.equal(
|
|
||||||
result,
|
|
||||||
'4FF9961269BF7630D32E15276569C94470174A5DA79FA567C0F62251AA9A36B9',
|
|
||||||
)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('test hook parameters', function () {
|
describe('test hook parameters', function () {
|
||||||
it('basic', async function () {
|
it('basic', async function () {
|
||||||
const parameters = [
|
const parameters = [
|
||||||
|
|||||||
Reference in New Issue
Block a user