fixing linting for remix-tests

pull/5370/head
lianahus 10 months ago
parent 66628a6721
commit 8425179283
  1. 4
      apps/solhint/project.json
  2. 3
      libs/remix-tests/tests/testRunner.cli.spec.ts
  3. 4
      libs/remix-tests/tests/testRunner.spec.ts

@ -51,8 +51,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/solhint/**/*.ts"],
"eslintConfig": "libs/solhint/.eslintrc"
"lintFilePatterns": ["apps/solhint/**/*.ts"],
"eslintConfig": "apps/solhint/.eslintrc"
}
},
"serve": {

@ -21,7 +21,6 @@ describe('testRunner: remix-tests CLI', function(){
}
}
describe('test various CLI options', function() {
it('remix-tests version', () => {
const res = spawnSync(executablePath, ['-V'])
@ -79,8 +78,6 @@ Commands:
})
it('remix-tests running a test file with custom compiler version', () => {
const res = spawnSync(executablePath, ['--compiler', '0.7.4', resolve(__dirname + '/examples_0/assert_ok_test.sol')])
// match initial lines

@ -8,8 +8,6 @@ import { deployAll } from '../src/deployer'
import { runTest, compilationInterface } from '../src/index'
import { ResultsInterface, TestCbInterface, ResultCbInterface } from '../src/index'
// deepEqualExcluding allows us to exclude specific keys whose values vary.
// In this specific test, we'll use this helper to exclude `time` keys.
// Assertions for the existence of these will be made at the correct places.
@ -177,8 +175,6 @@ describe('testRunner', function () {
})
})
describe('assert library NOTEQUAL method tests', function () {
const filename: string = __dirname + '/examples_0/assert_notEqual_test.sol'

Loading…
Cancel
Save