| OLD | NEW |
| 1 var allTestFiles = []; | 1 var allTestFiles = []; |
| 2 var TEST_REGEXP = /(_test|_multi)\.js$/i; | 2 var TEST_REGEXP = /(_test|_multi)\.js$/i; |
| 3 | 3 |
| 4 var pathToModule = function(path) { | 4 var pathToModule = function(path) { |
| 5 return path.replace(/^\/base\//, '').replace(/\.js$/, ''); | 5 return path.replace(/^\/base\//, '').replace(/\.js$/, ''); |
| 6 }; | 6 }; |
| 7 | 7 |
| 8 var testsToSkip = [ | 8 var testsToSkip = [ |
| 9 // syntax error in DDC's generated code: | 9 // syntax error in DDC's generated code: |
| 10 '/base/gen/codegen_output/language/execute_finally6_test.js', | 10 '/base/gen/codegen_output/language/execute_finally6_test.js', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // Travis bots take a bit longer to load all ~2k test files. | 46 // Travis bots take a bit longer to load all ~2k test files. |
| 47 waitSeconds: 30, | 47 waitSeconds: 30, |
| 48 | 48 |
| 49 paths: { | 49 paths: { |
| 50 dart_sdk: 'lib/js/amd/dart_sdk', | 50 dart_sdk: 'lib/js/amd/dart_sdk', |
| 51 async_helper: 'gen/codegen_output/pkg/async_helper', | 51 async_helper: 'gen/codegen_output/pkg/async_helper', |
| 52 expect: 'gen/codegen_output/pkg/expect', | 52 expect: 'gen/codegen_output/pkg/expect', |
| 53 js: 'gen/codegen_output/pkg/js', | 53 js: 'gen/codegen_output/pkg/js', |
| 54 matcher: 'gen/codegen_output/pkg/matcher', | 54 matcher: 'gen/codegen_output/pkg/matcher', |
| 55 minitest: 'gen/codegen_output/pkg/minitest', |
| 55 path: 'gen/codegen_output/pkg/path', | 56 path: 'gen/codegen_output/pkg/path', |
| 56 stack_trace: 'gen/codegen_output/pkg/stack_trace', | 57 stack_trace: 'gen/codegen_output/pkg/stack_trace', |
| 57 unittest: 'gen/codegen_output/pkg/unittest', | 58 unittest: 'gen/codegen_output/pkg/unittest', |
| 58 }, | 59 }, |
| 59 | 60 |
| 60 // Require all test files before starting tests. | 61 // Require all test files before starting tests. |
| 61 deps: allTestFiles, | 62 deps: allTestFiles, |
| 62 | 63 |
| 63 // We have to kickoff jasmine, as it is asynchronous | 64 // We have to kickoff jasmine, as it is asynchronous |
| 64 callback: window.__karma__.start | 65 callback: window.__karma__.start |
| 65 }); | 66 }); |
| OLD | NEW |