| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 minitest: 'gen/codegen_output/pkg/minitest', |
| 56 path: 'gen/codegen_output/pkg/path', | 56 path: 'gen/codegen_output/pkg/path', |
| 57 stack_trace: 'gen/codegen_output/pkg/stack_trace', | 57 stack_trace: 'gen/codegen_output/pkg/stack_trace', |
| 58 unittest: 'gen/codegen_output/pkg/unittest', | 58 unittest: 'gen/codegen_output/pkg/unittest', |
| 59 is: 'node_modules/is_js/is', |
| 59 }, | 60 }, |
| 60 | 61 |
| 61 // Require all test files before starting tests. | 62 // Require all test files before starting tests. |
| 62 deps: allTestFiles, | 63 deps: allTestFiles, |
| 63 | 64 |
| 64 // We have to kickoff jasmine, as it is asynchronous | 65 // We have to kickoff jasmine, as it is asynchronous |
| 65 callback: window.__karma__.start | 66 callback: window.__karma__.start |
| 66 }); | 67 }); |
| OLD | NEW |