| 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 (related to break/continue labels): | 9 // syntax error in DDC's generated code (related to break/continue labels): |
| 10 '/base/gen/codegen_output/language/execute_finally6_test.js', | 10 '/base/gen/codegen_output/language/execute_finally6_test.js', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 async_helper: 'gen/codegen_output/pkg/async_helper', | 47 async_helper: 'gen/codegen_output/pkg/async_helper', |
| 48 expect: 'gen/codegen_output/pkg/expect', | 48 expect: 'gen/codegen_output/pkg/expect', |
| 49 js: 'gen/codegen_output/pkg/js', | 49 js: 'gen/codegen_output/pkg/js', |
| 50 matcher: 'gen/codegen_output/pkg/matcher', | 50 matcher: 'gen/codegen_output/pkg/matcher', |
| 51 meta: 'gen/codegen_output/pkg/meta', | 51 meta: 'gen/codegen_output/pkg/meta', |
| 52 minitest: 'gen/codegen_output/pkg/minitest', | 52 minitest: 'gen/codegen_output/pkg/minitest', |
| 53 path: 'gen/codegen_output/pkg/path', | 53 path: 'gen/codegen_output/pkg/path', |
| 54 stack_trace: 'gen/codegen_output/pkg/stack_trace', | 54 stack_trace: 'gen/codegen_output/pkg/stack_trace', |
| 55 unittest: 'gen/codegen_output/pkg/unittest', | 55 unittest: 'gen/codegen_output/pkg/unittest', |
| 56 is: 'node_modules/is_js/is', | 56 is: 'node_modules/is_js/is', |
| 57 test_status: 'gen/codegen_output/test_status' |
| 57 }, | 58 }, |
| 58 | 59 |
| 59 // Require all test files before starting tests. | 60 // Require all test files before starting tests. |
| 60 deps: allTestFiles, | 61 deps: allTestFiles, |
| 61 | 62 |
| 62 // We have to kickoff jasmine, as it is asynchronous | 63 // We have to kickoff jasmine, as it is asynchronous |
| 63 callback: window.__karma__.start | 64 callback: window.__karma__.start |
| 64 }); | 65 }); |
| OLD | NEW |