Skip to content

Instantly share code, notes, and snippets.

@rodneyrehm
Last active June 12, 2017 17:21
Show Gist options
  • Save rodneyrehm/5ceb730affff0c1dbb5a19b8abe6eb99 to your computer and use it in GitHub Desktop.
Save rodneyrehm/5ceb730affff0c1dbb5a19b8abe6eb99 to your computer and use it in GitHub Desktop.
vue-i18n - running the unit tests
os: macOS 10.12.5
node: 8.1.0
npm: 5.0.3
-----
➜ npm run test:unit
> [email protected] test:unit /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n
> BABEL_ENV=test karma start config/karma.unit.conf.js
Hash: 5be2b8e908cbeaddc14f
Version: webpack 2.6.1
Time: 9161ms
Asset Size Chunks Chunk Names
../test/unit/index.js 5.67 MB 0 [emitted] [big] ../test/unit/index.js
chunk {0} ../test/unit/index.js (../test/unit/index.js) 2.37 MB [entry] [rendered]
[144] ./test/helpers/entry.js 422 bytes {0} [optional] [built]
[145] ./test/helpers/imports.js 365 bytes {0} [optional] [built]
[146] ./test/helpers/util.js 363 bytes {0} [optional] [built]
[147] ./test/helpers/wait-for-update.js 2.91 kB {0} [optional] [built]
[149] ./test/unit/component.test.js 9.99 kB {0} [optional] [built]
[150] ./test/unit/custom_blocks.test.js 4.46 kB {0} [optional] [built]
[156] ./test/unit/message.test.js 5.83 kB {0} [optional] [built]
[157] ./test/unit/missing.test.js 3.84 kB {0} [optional] [built]
[158] ./test/unit/mixin.test.js 2.26 kB {0} [optional] [built]
[159] ./test/unit/number.test.js 5.15 kB {0} [optional] [built]
[160] ./test/unit/path.test.js 5 kB {0} [optional] [built]
[161] ./test/unit/silent.test.js 1.61 kB {0} [optional] [built]
[230] ./test/helpers ^\.\/.*$ 290 bytes {0} [built]
[231] ./test/unit \.test 754 bytes {0} [built]
[238] ./test/unit/index.js 269 bytes {0} [built]
+ 526 hidden modules
WARNING in ./~/power-assert-formatter/lib/create.js
30:28-49 Critical dependency: the request of a dependency is an expression
12 06 2017 18:59:36.833:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
12 06 2017 18:59:36.836:INFO [launcher]: Launching browsers Chrome, Firefox, Safari with unlimited concurrency
12 06 2017 18:59:36.842:INFO [launcher]: Starting browser Chrome
12 06 2017 18:59:36.852:INFO [launcher]: Starting browser Firefox
12 06 2017 18:59:36.858:INFO [launcher]: Starting browser Safari
12 06 2017 18:59:38.125:INFO [Chrome 58.0.3029 (Mac OS X 10.12.5)]: Connected on socket fPc0RrPaRChuUDXsAAAA with id 48575131
12 06 2017 18:59:38.332:INFO [Safari 10.1.1 (Mac OS X 10.12.5)]: Connected on socket rK-LxcOvBrekHl60AAAB with id 20105623
Safari 10.1.1 (Mac OS X 10.12.5) INFO: 'You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'message.fallback' is not a string!'
WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback' with 'en' locale.'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'message.fallback' is not a string!'
WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback' with 'en' locale.'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) INFO: 'Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools'
Chrome 58.0.3029 (Mac OS X 10.12.5) INFO: 'You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'message.fallback1'. Use the value of keypath as default.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) basic i18n#d key argument should be formatted FAILED
# test/unit/basic.test.js:614
assert.equal(i18n.d(dt, 'short'), isWebkit ? '12/20/2012, 03:00' : '12/19/2012, 10:00 PM')
| | | |
| | | true
| | new Date("2012-12-20T03:00:00.000Z")
| "12/20/2012, 3:00 AM"
VueI18n{_vm:#Vue$3#,_formatter:#BaseFormatter#,_missing:null,_root:null,_sync:true,_fallbackRoot:true,_silentTranslationWarn:false,_dateTimeFormatters:#Object#,_numberFormatters:#Object#,_path:#I18nPath#,_exist:#function#}
_callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:25
webpack:///test/unit/basic.test.js:614:8 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:26877:21
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'ja-JP' datetime formats from 'en-US datetime formats.'
Safari 10.1.1 (Mac OS X 10.12.5) basic i18n#n locale argument with second argument should be formatted FAILED
# test/unit/basic.test.js:681
assert.equal(i18n.n(money, 'currency', 'ja-JP'), '¥10,100')
| | |
| | 10100
| "¥10,100"
VueI18n{_vm:#Vue$3#,_formatter:#BaseFormatter#,_missing:null,_root:null,_sync:true,_fallbackRoot:true,_silentTranslationWarn:false,_dateTimeFormatters:#Object#,_numberFormatters:#Object#,_path:#I18nPath#,_exist:#function#}
_callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:25
webpack:///test/unit/basic.test.js:681:10 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:26987:23
Safari 10.1.1 (Mac OS X 10.12.5) basic i18n#n locale argument with object argument should be formatted FAILED
# test/unit/basic.test.js:687
assert.equal(i18n.n(money, { key: 'currency', locale: 'ja-JP' }), '¥10,100')
| | | |
| | 10100 Object{key:"currency",locale:"ja-JP"}
| "¥10,100"
VueI18n{_vm:#Vue$3#,_formatter:#BaseFormatter#,_missing:null,_root:null,_sync:true,_fallbackRoot:true,_silentTranslationWarn:false,_dateTimeFormatters:#Object#,_numberFormatters:#Object#,_path:#I18nPath#,_exist:#function#}
_callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:25
webpack:///test/unit/basic.test.js:687:10 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:26999:23
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'ja-JP' number formats from 'en-US number formats.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'fallback' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' datetime formats from 'en-US datetime formats.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to datetime localization of root: key 'short' .'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' number formats from 'en-US number formats.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to number localization of root: key 'currency' .'
Safari 10.1.1 (Mac OS X 10.12.5) component translation should be translated FAILED
# test/unit/component.test.js:106
assert.equal(child1DateTime.textContent, isWebkit ? '12/20/2012, 03:00' : '12/19/2012, 10:00 PM')
| | |
| | true
| "12/20/2012, 3:00 AM"
HTMLParagraphElement{}
_callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:25
webpack:///test/unit/component.test.js:106:4 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:27150:17
webpack:///~/vue/dist/vue.runtime.esm.js:651:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:33037:18
nextTickHandler@webpack:///~/vue/dist/vue.runtime.esm.js:598:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:32984:16
promiseReactionJob@[native code]
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot parse locale messages via custom blocks.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: 'parse@[native code]
beforeCreate@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:21859:51
callHook@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34938:25
_init@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:36378:13
VueComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:36551:17
createComponentInstanceForVnode@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35900:40
init@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35734:76
createComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37283:10
createElm@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37226:24
createChildren@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37354:18
createElm@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37259:23
patch@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37725:18
_update@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34698:28
updateComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34821:17
get@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35160:29
Watcher@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35143:15
mountComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34825:28
http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:27330:16
callFnAsync@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4483:25
run@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4430:18
runTest@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4948:13
http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:5054:19
http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4876:11
http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4844:9
timeslice@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:82:27'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) datetime format getDateTimeFormat / setDateTimeFormat should be worked FAILED
# test/unit/datetime.test.js:47
assert.equal(text.textContent, isWebkit ? '12/20/2012, 03:00' : '12/19/2012, 10:00 PM')
| | |
| | true
| "12/20/2012, 3:00 AM"
HTMLParagraphElement{__vue__:#Vue$3#}
_callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:25
webpack:///test/unit/datetime.test.js:47:8 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:27430:21
shift@webpack:///test/helpers/wait-for-update.js:92:15 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:25712:25
webpack:///test/helpers/wait-for-update.js:116:4 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:25738:10
webpack:///~/vue/dist/vue.runtime.esm.js:651:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:33037:18
nextTickHandler@webpack:///~/vue/dist/vue.runtime.esm.js:598:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:32984:16
promiseReactionJob@[native code]
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Detect 'unknown' type of token!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Detect 'unknown' type of token!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'list' and format of value 'named' don't match!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'list' and format of value 'named' don't match!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'named' and format of value 'list' don't match!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'named' and format of value 'list' don't match!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'fallback' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' datetime formats from 'en-US datetime formats.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to datetime localization of root: key 'short' .'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' number formats from 'en-US number formats.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to number localization of root: key 'currency' .'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to interpolate the keypath 'fallback' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback' with 'en' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot find VueI18n instance!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback' with 'en' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'company-name' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the link placeholder 'company-name' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'company-name' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the link placeholder 'company-name' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'hello' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'hello' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'hello' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'hello' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with root locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'message.fallback1'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'message.fallback1'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'ja-JP' datetime formats from 'en-US datetime formats.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'ja-JP' number formats from 'en-US number formats.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot be interpreted 'i18n' option.'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Safari 10.1.1 (Mac OS X 10.12.5) number format getNumberFormat / setNumberFormat should be worked FAILED
# test/unit/number.test.js:47
assert.equal(text.textContent, isWebkit ? 'CNY101.00' : '101.00人民币')
| | |
| | true
| "101.00人民币"
HTMLParagraphElement{__vue__:#Vue$3#}
_callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:25
webpack:///test/unit/number.test.js:47:8 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:29014:21
shift@webpack:///test/helpers/wait-for-update.js:92:15 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:25712:25
webpack:///~/vue/dist/vue.runtime.esm.js:651:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:33037:18
nextTickHandler@webpack:///~/vue/dist/vue.runtime.esm.js:598:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:32984:16
promiseReactionJob@[native code]
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'fallback' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' datetime formats from 'en-US datetime formats.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to datetime localization of root: key 'short' .'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' number formats from 'en-US number formats.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to number localization of root: key 'currency' .'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar.buz' is not a string!'
Safari 10.1.1 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar.buz'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'fallback' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' datetime formats from 'ja-JP datetime formats.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to datetime localization of root: key 'short' .'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to 'en-US' number formats from 'ja-JP number formats.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to number localization of root: key 'currency' .'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot parse locale messages via custom blocks.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: 'SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at VueComponent.beforeCreate (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:21859:46)
at callHook (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34938:21)
at VueComponent.Vue._init (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:36378:5)
at new VueComponent (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:36551:12)
at createComponentInstanceForVnode (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35900:10)
at init (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35734:45)
at createComponent (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37283:9)
at createElm (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37226:9)
at createChildren (http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37354:9)'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) datetime format getDateTimeFormat / setDateTimeFormat should be worked FAILED
AssertionError: # test/unit/datetime.test.js:56
assert.equal(text.textContent, isWebkit ? '2012/12/20 03:00' : '2012/12/20 下午12:00')
| | |
| | false
| "2012/12/20 上午4:00"
HTMLParagraphElement{__vue__:#Vue$3#}
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Detect 'unknown' type of token!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Detect 'unknown' type of token!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'list' and format of value 'named' don't match!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'list' and format of value 'named' don't match!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'named' and format of value 'list' don't match!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Type of token 'named' and format of value 'list' don't match!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to interpolate the keypath 'fallback' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot find VueI18n instance!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'company-name' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the link placeholder 'company-name' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'company-name' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the link placeholder 'company-name' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'hello' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'hello' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'hello' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with root locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'message.fallback1'. Use the value of keypath as default.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot be interpreted 'i18n' option.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Value of key 'foo.bar.buz' is not a string!'
Chrome 58.0.3029 (Mac OS X 10.12.5) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar.buz'. Use the value of keypath as default.'
Safari 10.1.1 (Mac OS X 10.12.5): Executed 143 of 143 (6 FAILED) (0.864 secs / 0.627 secs)
Firefox 53.0.0 (Mac OS X 10.12.0) INFO: 'You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback' with 'en' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback' with 'en' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'Hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'Hello'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'message.fallback1'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to 'ja-JP' datetime formats from 'en-US datetime formats.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to 'ja-JP' number formats from 'en-US number formats.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'fallback' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to 'en-US' datetime formats from 'en-US datetime formats.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to datetime localization of root: key 'short' .'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to 'en-US' number formats from 'en-US number formats.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to number localization of root: key 'currency' .'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'fallback' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'fallback' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to 'en-US' datetime formats from 'ja-JP datetime formats.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to datetime localization of root: key 'short' .'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to 'en-US' number formats from 'ja-JP number formats.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to number localization of root: key 'currency' .'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot parse locale messages via custom blocks.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: 'beforeCreate@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:21859:41
callHook@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34938:9
initMixin/Vue.prototype._init@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:36378:5
VueComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:36551:7
createComponentInstanceForVnode@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35900:10
init@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35734:45
createComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37283:9
createElm@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37226:9
createChildren@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37354:9
createElm@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37259:9
patch@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:37725:9
lifecycleMixin/Vue.prototype._update@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34698:16
updateComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34821:7
get@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35160:13
Watcher@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:35143:7
mountComponent@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:34825:17
Vue$3.prototype.$mount@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:39492:10
@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js?801a36ad6e92009d22f5021ccbee396c0f10ccce:27317:16
callFnAsync@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4483:18
[33]</</Runnable.prototype.run@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4430:7
[34]</</Runner.prototype.runTest@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4948:5
next/<@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:5054:7
next@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4866:14
next/<@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4876:7
next@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4800:14
[34]</</Runner.prototype.hook/<@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:4844:5
timeslice@http://localhost:9876/absolute/Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/node_modules/mocha/mocha.js?0863072fa0d42c0f56c2c43e36b6f2bd01402ae2:82:5
'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'who' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) datetime format getDateTimeFormat / setDateTimeFormat should be worked FAILED
# test/unit/datetime.test.js:56
assert.equal(text.textContent, isWebkit ? '2012/12/20 03:00' : '2012/12/20 下午12:00')
| | |
| | false
| "2012/12/20 上午4:00"
HTMLParagraphElement{__vue__:#Vue$3#}
Decorator.prototype._callFunc@webpack:///~/empower-core/lib/decorator.js:110:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51577:15
Decorator.prototype.concreteAssert@webpack:///~/empower-core/lib/decorator.js:103:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51570:12
decoratedAssert@webpack:///~/empower-core/lib/decorate.js:49:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:51443:20
@webpack:///test/unit/datetime.test.js:56:8 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:27455:9
shift@webpack:///test/helpers/wait-for-update.js:92:15 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:25712:16
queueNextTick/<@webpack:///~/vue/dist/vue.runtime.esm.js:651:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:33037:11
nextTickHandler@webpack:///~/vue/dist/vue.runtime.esm.js:598:0 <- /Users/rodneyrehm/projects/test.dev/htdocs/vue-i18n/test/unit/index.js:32984:7
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Detect 'unknown' type of token!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Detect 'unknown' type of token!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Type of token 'list' and format of value 'named' don't match!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Type of token 'list' and format of value 'named' don't match!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Type of token 'named' and format of value 'list' don't match!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Type of token 'named' and format of value 'list' don't match!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to interpolate the keypath 'fallback' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot find VueI18n instance!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'company-name' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the link placeholder 'company-name' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'company-name' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the link placeholder 'company-name' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'hello' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'hello' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'hello' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with root locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'msg' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'msg' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'message.fallback1'. Use the value of keypath as default.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot be interpreted 'i18n' option.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'message.fallback1' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Fall back to translate the keypath 'message.fallback1' with 'ja' locale.'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Value of key 'foo.bar.buz' is not a string!'
Firefox 53.0.0 (Mac OS X 10.12.0) WARN: '[vue-i18n] Cannot translate the value of keypath 'foo.bar.buz'. Use the value of keypath as default.'
Safari 10.1.1 (Mac OS X 10.12.5): Executed 143 of 143 (6 FAILED) (0.864 secs / 0.627 secs)
Chrome 58.0.3029 (Mac OS X 10.12.5): Executed 143 of 143 (1 FAILED) (0.849 secs / 0.628 secs)
Firefox 53.0.0 (Mac OS X 10.12.0): Executed 143 of 143 (1 FAILED) (0.868 secs / 0.565 secs)
TOTAL: 8 FAILED, 421 SUCCESS
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:unit: `BABEL_ENV=test karma start config/karma.unit.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test:unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/rodneyrehm/.npm/_logs/2017-06-12T16_59_41_487Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment