Update webpack, components for eslint. Adjust effected settings and code.

This commit is contained in:
NI
2021-07-09 17:28:47 +08:00
parent 52b33cc793
commit d66053a0dc
15 changed files with 412 additions and 704 deletions

View File

@@ -28,7 +28,7 @@ describe("Integer", () => {
return data;
});
assert.equal(marshalled.length, 1);
assert.strictEqual(marshalled.length, 1);
r.feed(marshalled);
@@ -36,7 +36,7 @@ describe("Integer", () => {
await i2.unmarshal(r);
assert.equal(i.value(), i2.value());
assert.strictEqual(i.value(), i2.value());
});
it("Integer MAX", async () => {
@@ -47,7 +47,7 @@ describe("Integer", () => {
return data;
});
assert.equal(marshalled.length, 2);
assert.strictEqual(marshalled.length, 2);
r.feed(marshalled);
@@ -55,6 +55,6 @@ describe("Integer", () => {
await i2.unmarshal(r);
assert.equal(i.value(), i2.value());
assert.strictEqual(i.value(), i2.value());
});
});