From 018f2604921d5a1d0d98d04218dda13328f4261d Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Tue, 13 Apr 2021 11:12:35 +0800 Subject: [PATCH 1/2] Add some old lib to integration test --- test/integration/projects.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/test/integration/projects.js b/test/integration/projects.js index da4542e512..0b18ebc576 100644 --- a/test/integration/projects.js +++ b/test/integration/projects.js @@ -146,10 +146,27 @@ module.exports = [ // #1030 'https://github.com/astrofox-io/astrofox', // #1075 - 'https://github.com/jaredLunde/masonic' + 'https://github.com/jaredLunde/masonic', // These two project use `decorator`, try to enable when we use `@babel/eslint-parser` // 'https://github.com/untitled-labs/metabase-custom', // 'https://github.com/TheThingsNetwork/lorawan-stack', + 'https://github.com/prototypejs/prototype', + 'https://github.com/jquery/jquery', + { + repository: 'https://github.com/mootools/mootools-core', + ignore: [ + // This file not in strict mode + 'build/test/test.js' + ] + }, + { + repository: 'https://github.com/yui/yui3', + ignore: [ + // Generated code + 'build/test/test-coverage.js' + ] + }, + 'https://github.com/dojo/dojo' ].map(project => { if (typeof project === 'string') { project = {repository: project}; From 7412e7a4dc16a90b96aa20ab11220dc83f7a17d2 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Tue, 13 Apr 2021 13:39:04 +0800 Subject: [PATCH 2/2] Fix --- test/integration/projects.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/test/integration/projects.js b/test/integration/projects.js index 0b18ebc576..bd699a40d3 100644 --- a/test/integration/projects.js +++ b/test/integration/projects.js @@ -150,20 +150,29 @@ module.exports = [ // These two project use `decorator`, try to enable when we use `@babel/eslint-parser` // 'https://github.com/untitled-labs/metabase-custom', // 'https://github.com/TheThingsNetwork/lorawan-stack', - 'https://github.com/prototypejs/prototype', + { + repository: 'https://github.com/prototypejs/prototype', + ignore: [ + // This file is not in strict mode + 'test/unit/tests/event_handler.test.js + ] + }, 'https://github.com/jquery/jquery', { repository: 'https://github.com/mootools/mootools-core', ignore: [ - // This file not in strict mode - 'build/test/test.js' + // This file is not in strict mode + 'build/test/test.js', + 'Specs/Types/Number.js' ] }, { repository: 'https://github.com/yui/yui3', ignore: [ // Generated code - 'build/test/test-coverage.js' + 'build/test/test-coverage.js', + // Invalid + 'src/app/meta/app-transitions-test.js' ] }, 'https://github.com/dojo/dojo'