You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should not generate a page-description when already defined',()=>{
5
+
describe('Generate KB description',()=>{
6
+
it('should not generate a description when already defined',()=>{
7
7
constinput=`<div class="paragraph">
8
8
<p><strong>Background</strong></p>
9
9
</div>
@@ -22,12 +22,12 @@ So it was blogged about, and utilized by users looking for that functionality.</
22
22
},
23
23
asciidoc: {
24
24
attributes: {
25
-
'page-description': 'Will execution_guard_enabled work in my release of Neo4j? Let\'s find out!'
25
+
'description': 'Will execution_guard_enabled work in my release of Neo4j? Let\'s find out!'
26
26
}
27
27
}
28
28
}
29
29
generateKnowledgeBasePageDescription([page])
30
-
expect(page.asciidoc.attributes['page-description']).to.equal('Will execution_guard_enabled work in my release of Neo4j? Let\'s find out!')
30
+
expect(page.asciidoc.attributes['description']).to.equal('Will execution_guard_enabled work in my release of Neo4j? Let\'s find out!')
31
31
})
32
32
it('should ignore listing block',()=>{
33
33
constinput=`<div class="paragraph">
@@ -72,6 +72,6 @@ Note that Cypher queries must end with a semicolon.</code></pre>
72
72
}
73
73
}
74
74
generateKnowledgeBasePageDescription([page])
75
-
expect(page.asciidoc.attributes['page-description']).to.equal('The following will demonstrate how to use cypher-shell to get a better understanding of a Neo4j Causal Cluster instance and its implementation of routing. The initial scenario is described with…')
75
+
expect(page.asciidoc.attributes['description']).to.equal('The following will demonstrate how to use cypher-shell to get a better understanding of a Neo4j Causal Cluster instance and its implementation of routing. The initial scenario is described with…')
0 commit comments