feat: Jest Test Runner (#2170)

This commit is contained in:
justinr1234
2023-02-03 17:03:07 -06:00
committed by GitHub
parent 5a63f18faf
commit 5fe480ece4
229 changed files with 13497 additions and 17033 deletions

View File

@@ -10,7 +10,7 @@ import { FieldInstance } from './enums'
import { STObject } from './types/st-object'
import { JsonObject } from './types/serialized-type'
import { Buffer } from 'buffer/'
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
/**
* Construct a BinaryParser

View File

@@ -1,5 +1,5 @@
import { HashPrefix } from './hash-prefixes'
import * as createHash from 'create-hash'
import createHash = require('create-hash')
import { Hash256 } from './types/hash-256'
import { BytesList } from './serdes/binary-serializer'
import { Buffer } from 'buffer/'

View File

@@ -102,7 +102,7 @@ function decodeQuality(value: string): string {
return quality.decode(value).toString()
}
export = {
export {
decode,
encode,
encodeForSigning,

View File

@@ -10,7 +10,7 @@ import { UInt32 } from './types/uint-32'
import { UInt8 } from './types/uint-8'
import { BinaryParser } from './serdes/binary-parser'
import { JsonObject } from './types/serialized-type'
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
/**
* Computes the hash of a list of objects

View File

@@ -1,6 +1,6 @@
import { coreTypes } from './types'
import { Decimal } from 'decimal.js'
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
import { Buffer } from 'buffer/'
/**

View File

@@ -5,7 +5,7 @@ import { BinaryParser } from '../serdes/binary-parser'
import { AccountID } from './account-id'
import { Currency } from './currency'
import { JsonObject, SerializedType } from './serialized-type'
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
import { Buffer } from 'buffer/'
/**

View File

@@ -1,6 +1,6 @@
import { BytesList } from '../serdes/binary-serializer'
import { BinaryParser } from '../serdes/binary-parser'
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
import { Buffer } from 'buffer/'
type JSON = string | number | boolean | null | undefined | JSON[] | JsonObject

View File

@@ -1,6 +1,6 @@
import { UInt } from './uint'
import { BinaryParser } from '../serdes/binary-parser'
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
import { isInstance } from 'big-integer'
import { Buffer } from 'buffer/'

View File

@@ -1,4 +1,4 @@
import * as bigInt from 'big-integer'
import bigInt = require('big-integer')
import { Comparable } from './serialized-type'
import { Buffer } from 'buffer/'