chore: lint run (#1332) #3716
Annotations
10 errors and 1 warning
packages/codemods/ethers/v6/big-numbers/test/test.ts#L43
AssertionError: Expected values to be loosely deep-equal:
'// Using BigNumber in v5\n' +
"value = BigInt('1000');\n" +
'// Adding two values in v5\n' +
'sum = value1 + value2;\n' +
'// Checking equality in v5\n' +
'isEqual = value1 == value2;'
should loosely deep-equal
'// Using BigInt in v6\n' +
"value = BigInt('1000');\n" +
'// Addition, keep in mind, both values must be a BigInt\n' +
'sum = value1 + value2;\n' +
'// Checking Equality\n' +
'isEqual = value1 == value2;'
- Expected
+ Received
- // Using BigInt in v6
+ // Using BigNumber in v5
value = BigInt('1000');
- // Addition, keep in mind, both values must be a BigInt
+ // Adding two values in v5
sum = value1 + value2;
- // Checking Equality
+ // Checking equality in v5
isEqual = value1 == value2;
❯ packages/codemods/ethers/v6/big-numbers/test/test.ts:43:12
|
packages/codemods/ethers/v6/importing/test/test.ts#L43
AssertionError: Expected values to be loosely deep-equal:
'import { InfuraProvider } from "ethers/providers";'
should loosely deep-equal
"import { InfuraProvider } from 'ethers/providers';"
- Expected
+ Received
- import { InfuraProvider } from 'ethers/providers';
+ import { InfuraProvider } from "ethers/providers";
❯ packages/codemods/ethers/v6/importing/test/test.ts:43:12
|
packages/codemods/ethers/v6/importing/test/test.ts#L68
AssertionError: Expected values to be loosely deep-equal:
'import { InfuraProvider } from "ethers";'
should loosely deep-equal
"import { InfuraProvider } from 'ethers';"
- Expected
+ Received
- import { InfuraProvider } from 'ethers';
+ import { InfuraProvider } from "ethers";
❯ packages/codemods/ethers/v6/importing/test/test.ts:68:12
|
packages/codemods/ethers/v6/providers/test/test.ts#L93
AssertionError: Expected values to be loosely deep-equal:
'provider = new JsonRpcProvider(url, network, {\n staticNetwork: network\n});'
should loosely deep-equal
'provider = new JsonRpcProvider(url, network, {\n staticNetwork: network,\n});'
- Expected
+ Received
provider = new JsonRpcProvider(url, network, {
- staticNetwork: network,
+ staticNetwork: network
});
❯ packages/codemods/ethers/v6/providers/test/test.ts:93:12
|
packages/codemods/ethers/v6/providers/test/test.ts#L118
AssertionError: Expected values to be loosely deep-equal:
'(await provider.getFeeData()).gasPrice;'
should loosely deep-equal
'(await provider.getFeeData()).gasPrice'
- Expected
+ Received
- (await provider.getFeeData()).gasPrice
+ (await provider.getFeeData()).gasPrice;
❯ packages/codemods/ethers/v6/providers/test/test.ts:118:12
|
packages/codemods/ethers/v6/utilities/test/test.ts#L193
AssertionError: Expected values to be loosely deep-equal:
'ethers.defineProperties(obj, {\n name: value\n});'
should loosely deep-equal
'ethers.defineProperties(obj, { name: value });'
- Expected
+ Received
- ethers.defineProperties(obj, { name: value });
+ ethers.defineProperties(obj, {
+ name: value
+ });
❯ packages/codemods/ethers/v6/utilities/test/test.ts:193:12
|
packages/codemods/jasmine/5.0/handling_env-execute/test/test.ts#L43
AssertionError: Expected values to be loosely deep-equal:
'const toReplace = "hello";'
should loosely deep-equal
'const replacement = "hello";'
- Expected
+ Received
- const replacement = "hello";
+ const toReplace = "hello";
❯ packages/codemods/jasmine/5.0/handling_env-execute/test/test.ts:43:12
|
packages/codemods/jasmine/5.0/node-boot-removal/test/test.ts#L43
AssertionError: Expected values to be loosely deep-equal:
'const boot = require("jasmine-core").boot;'
should loosely deep-equal
"const boot = require('jasmine-core').boot;"
- Expected
+ Received
- const boot = require('jasmine-core').boot;
+ const boot = require("jasmine-core").boot;
❯ packages/codemods/jasmine/5.0/node-boot-removal/test/test.ts:43:12
|
packages/codemods/meteor/v3/mongoDb-async-methods/test/test.ts#L118
AssertionError: Expected values to be loosely deep-equal:
"const something = await (await MyCollection.updateAsync({ _id: '123' })).fetchAsync();"
should loosely deep-equal
"const something = await MyCollection.update({ _id: '123' }).fetchAsync();"
- Expected
+ Received
- const something = await MyCollection.update({ _id: '123' }).fetchAsync();
+ const something = await (await MyCollection.updateAsync({ _id: '123' })).fetchAsync();
❯ packages/codemods/meteor/v3/mongoDb-async-methods/test/test.ts:118:12
|
packages/codemods/three/r168/replace-dragcontrols-getraycaster/test/test.ts#L43
AssertionError: Expected values to be loosely deep-equal:
'taScene.controls.raycaster();'
should loosely deep-equal
'taScene.controls.raycaster;'
- Expected
+ Received
- taScene.controls.raycaster;
+ taScene.controls.raycaster();
❯ packages/codemods/three/r168/replace-dragcontrols-getraycaster/test/test.ts:43:12
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading