Disable lint rule on 2 lines in test file

This commit is contained in:
Elliot Lee
2019-07-17 00:40:06 -07:00
parent dc4de56a00
commit b775a6f3c8

View File

@@ -14,10 +14,12 @@ describe('ripple-binary-codec', function() {
function makeSuite(name, entries) { function makeSuite(name, entries) {
describe(name, function() { describe(name, function() {
entries.forEach((t, test_n) => { entries.forEach((t, test_n) => {
// eslint-disable-next-line max-len
it(`${name}[${test_n}] can encode ${truncateForDisplay(json(t.json))} to ${truncateForDisplay(t.binary)}`, it(`${name}[${test_n}] can encode ${truncateForDisplay(json(t.json))} to ${truncateForDisplay(t.binary)}`,
() => { () => {
assert.equal(t.binary, encode(t.json)); assert.equal(t.binary, encode(t.json));
}); });
// eslint-disable-next-line max-len
it(`${name}[${test_n}] can decode ${truncateForDisplay(t.binary)} to ${truncateForDisplay(json(t.json))}`, it(`${name}[${test_n}] can decode ${truncateForDisplay(t.binary)} to ${truncateForDisplay(json(t.json))}`,
() => { () => {
const decoded = decode(t.binary); const decoded = decode(t.binary);