Created
July 17, 2017 00:59
-
-
Save zippy/562dea47487948554c2470bbbb3906fc to your computer and use it in GitHub Desktop.
hc-scaffold test fails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm test | |
> [email protected] test /home/eric/code/metacurrency/hc-scaffold | |
> standard && node ./bin/build.js && ninja && node ./bin/exec-tests.js | |
wrote build.ninja | |
build - Transpiles source files to ECMAScript 5 before publishing. | |
lint - Verifies source code meets syntax/style rules. | |
ls - Lists dependencies (top-level). | |
outdated - Lists outdated dependencies (top-level). | |
start - Starts hapi server with examples. | |
test - Runs all tests. | |
server started at http://127.0.0.1:18181 | |
phantomjs --disk-cache=false --igno...tp://127.0.0.1:18181/test/test.html | |
# phantom-runner, executing http://127.0.0.1:18181/test/test.html | |
1..7 | |
ok 1 - HC Scaffold Quick Start translation check "ba" | |
ok 2 - HC Scaffold Quick Start translation check "de" | |
not ok 3 - HC Scaffold Quick Start translation check "en" | |
# AssertionError: expected 'HC Scaffold Schnell Start' to equal 'HC Scaffold Quick Start' | |
# [email protected]:1:3115 | |
# [email protected]:1:47428 | |
# [email protected]:1:50935 | |
# [email protected]:1:59969 | |
# test.js:1:659144 | |
# run@http://127.0.0.1:18181/js/babel-polyfill.js:3911:29 | |
# http://127.0.0.1:18181/js/babel-polyfill.js:3924:31 | |
# flush@http://127.0.0.1:18181/js/babel-polyfill.js:1209:11 | |
phantomjs://code/phantom-runner.js:77 in onCallback | |
ok 4 - HC Scaffold Quick Start translation check "hi" | |
not ok 5 - HC Scaffold Quick Start translation check "ja" | |
# AssertionError: expected 'एचसी एससीएफ़ॉल्ड शीघ्र प्रारंभ' to equal 'HC Scaffold クイックスタート' | |
# [email protected]:1:3115 | |
# [email protected]:1:47428 | |
# [email protected]:1:50935 | |
# [email protected]:1:59969 | |
# test.js:1:659144 | |
# run@http://127.0.0.1:18181/js/babel-polyfill.js:3911:29 | |
# http://127.0.0.1:18181/js/babel-polyfill.js:3924:31 | |
# flush@http://127.0.0.1:18181/js/babel-polyfill.js:1209:11 | |
phantomjs://code/phantom-runner.js:77 in onCallback | |
ok 6 - HC Scaffold Quick Start translation check "mr" | |
# console - fixture { | |
# "scaffoldVersion": "0.0.1", | |
# "generator": "xxx", | |
# "Version": 1, | |
# "UUID": "test-uuid", | |
# "Name": "test-name", | |
# "Properties": { | |
# "description": "test-description", | |
# "language": "en" | |
# }, | |
# "PropertiesSchemaFile": "properties_schema.json", | |
# "DHTConfig": { | |
# "HashType": "sha2-256" | |
# }, | |
# "Zomes": [ | |
# { | |
# "Name": "test-zome-name", | |
# "Description": "test-zome-description", | |
# "NucleusType": "js", | |
# "CodeFile": "test-zome-name.js", | |
# "Entries": [ | |
# { | |
# "Name": "test-entry", | |
# "Required": true, | |
# "DataFormat": "json", | |
# "Sharing": "public", | |
# "SchemaFile": "test-entry.json", | |
# "_": "crud" | |
# } | |
# ], | |
# "Functions": [ | |
# { | |
# "Name": "test-entryCreate", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "c:test-entry" | |
# }, | |
# { | |
# "Name": "test-entryRead", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "r:test-entry" | |
# }, | |
# { | |
# "Name": "test-entryUpdate", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "u:test-entry" | |
# }, | |
# { | |
# "Name": "test-entryDelete", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "d:test-entry" | |
# }, | |
# { | |
# "Name": "test-function", | |
# "CallingType": "json", | |
# "Exposure": "public" | |
# } | |
# ], | |
# "ZomeCode": "xxx" | |
# } | |
# ] | |
# } | |
# console - result { | |
# "scaffoldVersion": "0.0.1", | |
# "generator": "xxx", | |
# "Version": 1, | |
# "UUID": "test-uuid", | |
# "Name": "test-name", | |
# "Properties": { | |
# "description": "test-description", | |
# "language": "mr" | |
# }, | |
# "PropertiesSchemaFile": "properties_schema.json", | |
# "DHTConfig": { | |
# "HashType": "sha2-256" | |
# }, | |
# "Zomes": [ | |
# { | |
# "Name": "test-zome-name", | |
# "Description": "test-zome-description", | |
# "NucleusType": "js", | |
# "CodeFile": "test-zome-name.js", | |
# "Entries": [ | |
# { | |
# "Name": "test-entry", | |
# "Required": true, | |
# "DataFormat": "json", | |
# "Sharing": "public", | |
# "SchemaFile": "test-entry.json", | |
# "_": "crud" | |
# } | |
# ], | |
# "Functions": [ | |
# { | |
# "Name": "test-entryCreate", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "c:test-entry" | |
# }, | |
# { | |
# "Name": "test-entryRead", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "r:test-entry" | |
# }, | |
# { | |
# "Name": "test-entryUpdate", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "u:test-entry" | |
# }, | |
# { | |
# "Name": "test-entryDelete", | |
# "CallingType": "json", | |
# "Exposure": "public", | |
# "_": "d:test-entry" | |
# }, | |
# { | |
# "Name": "test-function", | |
# "CallingType": "json", | |
# "Exposure": "public" | |
# } | |
# ], | |
# "ZomeCode": "xxx" | |
# } | |
# ] | |
# } | |
not ok 7 - HC Scaffold Quick Start loads from localstorage full | |
# AssertionError: expected { Object (scaffoldVersion, generator, ...) } to deeply equal { Object (scaffoldVersion, generator, ...) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment