Skip to content

Commit

Permalink
Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Jun 26, 2022
1 parent 2e1fa5d commit 08251bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ suite(`Interactive window execution`, async function () {
}
sinon.restore();
await closeNotebooksAndCleanUpAfterTests(disposables);
traceInfo(`Ended Test (completed) ${this.currentTest?.title}`);
});

test('Execute cell from Python file', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ suite('IPyWidget Script Manager', function () {
});
test('Should not contain any modules that we already bundle with our ipywidgets bundle', async () => {
const moduleMappings = await scriptManager.getWidgetModuleMappings();
assert.isObject(moduleMappings);
['jupyter-js-widgets', '@jupyter-widgets/base', '@jupyter-widgets/controls', '@jupyter-widgets/output'].forEach(
(moduleName) => {
assert.isFalse(moduleName in moduleMappings!, `Module ${moduleName} should not exist in the mapping`);
Expand Down
1 change: 0 additions & 1 deletion src/test/datascience/widgets/rendererUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function initializeComms() {
return;
}
rendererContext.onDidReceiveMessage((message) => {
console.log(`Received message in Widget renderer ${JSON.stringify(message)}`);
rendererContext.postMessage!({
command: 'log',
message: `Received message in Widget renderer ${JSON.stringify(message)}`
Expand Down

0 comments on commit 08251bc

Please sign in to comment.