mirror of
https://github.com/xodio/xod.git
synced 2026-03-18 14:46:52 +01:00
test(xod-pm): update xod/common-hardware dependencies in functional test
This commit is contained in:
@@ -71,13 +71,13 @@ describe('fetching data', () => {
|
||||
it('returns Promise with list with two xodballs: xod/common-hardware and xod/core', () =>
|
||||
F.fetchLibsWithDependencies(PM_SWAGGER_URL, [], ['xod/common-hardware'])
|
||||
.then((projectsMap) => {
|
||||
assert.lengthOf(R.keys(projectsMap), 3);
|
||||
assert.lengthOf(R.keys(projectsMap), 4);
|
||||
assert.sameMembers(
|
||||
R.compose(
|
||||
R.map(getProjectName),
|
||||
R.values
|
||||
)(projectsMap),
|
||||
['common-hardware', 'core', 'units']
|
||||
['common-hardware', 'core', 'bits', 'units']
|
||||
);
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user