Adds @xrplf prettier config (#1598)

* build: new prettier config
This commit is contained in:
Nathan Nichols
2021-09-03 15:41:20 -07:00
committed by Mayukha Vadari
parent 8c5bc22317
commit e200de3073
263 changed files with 10185 additions and 10133 deletions

View File

@@ -1,21 +1,21 @@
import signPaymentChannelClaim from "../../src/utils/signPaymentChannelClaim";
import responses from "../fixtures/responses";
import { assertResultMatch } from "../testUtils";
import signPaymentChannelClaim from '../../src/utils/signPaymentChannelClaim'
import responses from '../fixtures/responses'
import { assertResultMatch } from '../testUtils'
describe("signPaymentChannelClaim", function () {
it("basic signature matches", function () {
describe('signPaymentChannelClaim', function () {
it('basic signature matches', function () {
const channel =
"3E18C05AD40319B809520F1A136370C4075321B285217323396D6FD9EE1E9037";
const amount = ".00001";
'3E18C05AD40319B809520F1A136370C4075321B285217323396D6FD9EE1E9037'
const amount = '.00001'
const privateKey =
"ACCD3309DB14D1A4FC9B1DAE608031F4408C85C73EE05E035B7DC8B25840107A";
'ACCD3309DB14D1A4FC9B1DAE608031F4408C85C73EE05E035B7DC8B25840107A'
const result = signPaymentChannelClaim(channel, amount, privateKey);
const result = signPaymentChannelClaim(channel, amount, privateKey)
assertResultMatch(
result,
responses.signPaymentChannelClaim,
"signPaymentChannelClaim"
);
});
});
'signPaymentChannelClaim',
)
})
})