pull/747/head
yann300 4 years ago
parent 6ad6a25916
commit 19cfcb294d
  1. 1
      .circleci/config.yml
  2. 2
      libs/remix-simulator/package.json
  3. 2
      libs/remix-solidity/package.json
  4. 3
      libs/remix-tests/jest.config.js
  5. 6
      libs/remix-tests/package.json
  6. 4
      libs/remix-tests/tests/testRunner.cli.spec.ts

@ -51,6 +51,7 @@ jobs:
- checkout
- run: npm install
- run: npm run build:libs
- run: export NODE_OPTIONS="--max_old_space_size=8192"
- run: npm run test:libs
remix-ide-chrome-1:

@ -14,7 +14,7 @@
],
"main": "src/index.js",
"dependencies": {
"@remix-project/remix-lib": "^0.4.34",
"@remix-project/remix-lib": "../remix-lib",
"ansi-gray": "^0.1.1",
"async": "^3.1.0",
"body-parser": "^1.18.2",

@ -15,7 +15,7 @@
}
],
"dependencies": {
"@remix-project/remix-lib": "^0.4.34",
"@remix-project/remix-lib": "../remix-lib",
"eslint-scope": "^5.0.0",
"@ethereumjs/vm": "^5.3.2",
"@ethereumjs/block": "^3.2.1",

@ -1,11 +1,12 @@
module.exports = {
name: 'remix-tests',
preset: '../../jest.config.js',
verbose: false,
verbose: true,
silent: false, // Silent console messages, specially the 'remix-simulator' ones
transform: {
'^.+\\.[tj]sx?$': 'ts-jest',
},
transformIgnorePatterns: ["/node_modules/", "\\.pnp\\.[^\\\/]+$"],
rootDir: "./",
testTimeout: 40000,
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json'],

@ -35,9 +35,9 @@
},
"homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-tests#readme",
"dependencies": {
"@remix-project/remix-lib": "^0.4.34",
"@remix-project/remix-simulator": "^0.1.10-beta.0",
"@remix-project/remix-solidity": "^0.3.35",
"@remix-project/remix-lib": "../remix-lib",
"@remix-project/remix-simulator": "../remix-simulator",
"@remix-project/remix-solidity": "../remix-solidity",
"ansi-gray": "^0.1.1",
"async": "^2.6.0",
"axios": ">=0.21.1",

@ -10,9 +10,7 @@ describe('testRunner: remix-tests CLI', () => {
if(result) {
const dirContent = result.stdout.toString()
// Install dependencies if 'node_modules' is not already present
if(!dirContent.includes('node_modules')) execSync(
'ln -s ' + __dirname + '/../../../node_modules node_modules',
{ cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') })
if(!dirContent.includes('node_modules')) execSync('npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') })
}

Loading…
Cancel
Save