mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-31 16:14:53 +02:00
mysterious error with process require
This commit is contained in:
parent
811b9c1b0e
commit
b4a6ac3784
4 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
|||
//var LocaleStore = require('../../js/stores/LocaleStore');
|
||||
var CasperUtils = require('./casperUtils').CasperUtils;
|
||||
|
||||
var intl = require('../../js/intl/index.js');
|
||||
|
@ -28,11 +29,11 @@ casper.start(
|
|||
);
|
||||
|
||||
this.test.assertEvalEquals(function(lang) {
|
||||
debug_App_changeLocaleFromHeaders(lang);
|
||||
return debug_Intl_getLocale();
|
||||
debug_LocaleActions_changeLocaleFromHeader(lang);
|
||||
return debug_LocaleStore_getLocale();
|
||||
},
|
||||
locale,
|
||||
'Testing changing the locale from ' + lang +
|
||||
'Testing changing store locale from ' + lang +
|
||||
' to ' + locale,
|
||||
{ lang: lang }
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue