diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-11-16 15:13:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-16 15:13:50 +0000 |
commit | a1bcdf17a53fb98c476aae9e205817c4a80a363d (patch) | |
tree | 3e1cdd0b03e2de8f0dae548829edac28b4ef644b /tests/unit/ops_test.ts | |
parent | 8d2960d7ccb756de4260a642d960cd01eaaa2478 (diff) |
feat(jupyter): Add `Deno.jupyter.image` API (#26284)
This commit adds `Deno.jupyter.image` API to display PNG and JPG images:
```
const data = Deno.readFileSync("./my-image.jpg");
Deno.jupyter.image(data);
Deno.jupyter.image("./my-image.jpg");
```
Diffstat (limited to 'tests/unit/ops_test.ts')
-rw-r--r-- | tests/unit/ops_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/ops_test.ts b/tests/unit/ops_test.ts index 4ba7c5ce3..6de55f8b6 100644 --- a/tests/unit/ops_test.ts +++ b/tests/unit/ops_test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -const EXPECTED_OP_COUNT = 11; +const EXPECTED_OP_COUNT = 12; Deno.test(function checkExposedOps() { // @ts-ignore TS doesn't allow to index with symbol |