add correct to root name in result

add correct to root name in result
This commit is contained in:
Luis Tejeda
2022-06-09 18:25:23 -05:00
parent d5bfeab1f7
commit 9896b24d81
2 changed files with 3 additions and 1 deletions

View File

@@ -1026,6 +1026,8 @@ describe('bundle files method - 3.0', function () {
expect(res.result).to.be.true;
expect(JSON.stringify(res.output.data[0].bundledContent, null, 2)).to.be.equal(expected);
expect(JSON.stringify(res.output.data[1].bundledContent, null, 2)).to.be.equal(expected2);
expect(res.output.data[0].rootFile.path).to.equal('/root.yaml');
expect(res.output.data[1].rootFile.path).to.equal('/root2.yaml');
});
it('Should throw error when root is not present in data array', async function () {