mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 05:05:48 +00:00
Update enum definitions and dependencies * Remove redundant bytes from field definitions * Remove "date-generated" given hand editing * Remove ripple-lib test dependency * Fix linting errors introduced by updated eslint/eslintrc * Ensure STObject.toJSON returns a plain object
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
/* eslint-disable func-style */
|
||||
|
||||
'use strict';
|
||||
|
||||
const BN = require('bn.js');
|
||||
const assert = require('assert-diff');
|
||||
const lib = require('../src/coretypes');
|
||||
@@ -78,7 +76,7 @@ function UIntTest() {
|
||||
|
||||
|
||||
function parseLedger4320278() {
|
||||
it(`can parse object`, done => {
|
||||
it('can parse object', done => {
|
||||
this.timeout(30e3);
|
||||
const json = loadFixture('as-ledger-4320278.json');
|
||||
json.forEach(e => {
|
||||
@@ -89,7 +87,7 @@ function parseLedger4320278() {
|
||||
}
|
||||
|
||||
function deliverMinTest() {
|
||||
it(`can serialize DeliverMin`, () => {
|
||||
it('can serialize DeliverMin', () => {
|
||||
assert.strictEqual(encode(deliverMinTx), deliverMinTxBinary);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user