diff options
| author | Vojta Jina | 2011-10-31 17:56:55 -0700 |
|---|---|---|
| committer | Vojta Jina | 2011-10-31 18:22:38 -0700 |
| commit | ddf6f1143f140d81b22d21ff33de062a35999801 (patch) | |
| tree | 82bdaef94cea22bcdac15cd6b482f5a845675cb3 /gen_jstd_configs.js | |
| parent | 2636105c5e363f14cda890f19ac9c3bc57556dd2 (diff) | |
| download | angular.js-ddf6f1143f140d81b22d21ff33de062a35999801.tar.bz2 | |
test(mocks): test mocks with compiled angular
Unfortunately, there people in our team (me), who are not able to use angular.* namespace prefix
when writing angular-mocks code, so we need to test it...
Diffstat (limited to 'gen_jstd_configs.js')
| -rwxr-xr-x | gen_jstd_configs.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gen_jstd_configs.js b/gen_jstd_configs.js index 15d8491d..7165d202 100755 --- a/gen_jstd_configs.js +++ b/gen_jstd_configs.js @@ -16,6 +16,8 @@ fs.readFile('angularFiles.js', function(err, data) { fs.writeFile('./jsTestDriver.conf', prefix + combine(angularFiles.jstd, angularFiles.jstdExclude)); + fs.writeFile('./jsTestDriver-mocks.conf', prefix + combine(angularFiles.jstdMocks)); + fs.writeFile('./jsTestDriver-scenario.conf', prefixScenario + combine(angularFiles.jstdScenario) + '\n\nproxy:\n- {matcher: "*", server: "http://localhost:8000"}'); |
