Backend work for Notebook Parameterization and Tests (#12914)

* Backend work for  Parameterization + Tests

* minor comments

* fix test

* address comments
This commit is contained in:
Vasu Bhog
2020-10-20 13:26:59 -05:00
committed by GitHub
parent c6b3b797c5
commit fcec690546
6 changed files with 286 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ suite('CellToolbarActions', function (): void {
cellModelMock.setup(x => x.cellType).returns(() => 'code');
const action = new CellToggleMoreActions(instantiationService);
action.onInit(testContainer, contextMock.object);
assert.equal(action['_moreActions']['viewItems'][0]['_action']['_actions'].length, 15, 'Unexpected number of valid elements');
assert.equal(action['_moreActions']['viewItems'][0]['_action']['_actions'].length, 18, 'Unexpected number of valid elements');
});
test('CellToggleMoreActions with Markdown CellType', function (): void {