Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.2.0
-
-
Empty show more show less
-
Basel 122
-
1
Description
A test has started failing only on Jenkins (works fine locally) after NPMCLI-138. The changes in that ticket look completely unrelated to the failure though. Most likely it's timing/async issue.
1) should append components correctly when having spaces or comments and more than one area
124 passing (49s)
1 failing
1) yamlHelper should append components correctly when having spaces or comments and more than one area:
AssertionError: expected 'title: hello\ntemplateScript: /foo/templates/pages/baz.ftl\n \nareas:\n fooArea:\n availableComponents:\n baz:\n id: foo:components/baz\n meh:\n id: foo:components/meh\n bazArea:\n availableComponents:\n qux:\n comp:\n id: foo:components/comp\n id: foo:components/qux\n' to equal 'title: hello\ntemplateScript: /foo/templates/pages/baz.ftl\n \nareas:\n fooArea:\n availableComponents:\n baz:\n id: foo:components/baz\n meh:\n id: foo:components/meh\n bazArea:\n availableComponents:\n qux:\n id: foo:components/qux\n comp:\n id: foo:components/comp\n'
+ expected - actual
id: foo:components/meh
bazArea:
availableComponents:
qux:
+ id: foo:components/qux
comp:
id: foo:components/comp
- id: foo:components/qux
at Context.<anonymous> (test/yamlHelperTest.js:93:37)
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
NPMCLI-145 Refactor code with Promises to avoid async issues
-
- Open
-
- mentioned in
-
Page Loading...