Skip to content
Snippets Groups Projects
Commit f56097a2 authored by Gandalf's avatar Gandalf
Browse files

Merge branch 'fix-canonical-linker-tests' into 'autoclave'

Fix CanonicalLinker tests

See merge request !6
parents 46182297 cd2726c5
No related branches found
No related tags found
2 merge requests!11merge autoclave into master,!6Fix CanonicalLinker tests
...@@ -36,7 +36,7 @@ describe('makeCanonicalLink', () => { ...@@ -36,7 +36,7 @@ describe('makeCanonicalLink', () => {
[ [
'handles posts from steemit', 'handles posts from steemit',
{ ...post_data, json_metadata: { app: 'steemit/0.1' } }, { ...post_data, json_metadata: { app: 'steemit/0.1' } },
'https://hive.blog/testing/@test/test-post', 'https://steemit.com/testing/@test/test-post',
], ],
[ [
'handles badly formatted app strings', 'handles badly formatted app strings',
...@@ -45,7 +45,7 @@ describe('makeCanonicalLink', () => { ...@@ -45,7 +45,7 @@ describe('makeCanonicalLink', () => {
], ],
[ [
'handles objects as apps', 'handles objects as apps',
{ ...post_data, json_metadata: { app: { this_is: 'an objct' } } }, { ...post_data, json_metadata: { app: { this_is: 'an object' } } },
'https://hive.blog/testing/@test/test-post', 'https://hive.blog/testing/@test/test-post',
], ],
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment