Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jan 3, 2025
1 parent 688d67c commit edf6394
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/vix/vips/livebook_render_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ if Code.ensure_loaded?(Kino.Render) do
import Vix.Support.Images

test "Rendering livebook metadata and image" do
IO.inspect("kino #1")

Check warning on line 10 in test/vix/vips/livebook_render_test.exs

View workflow job for this annotation

GitHub Actions / Lint (1.17.x, 27.x)

There should be no calls to `IO.inspect/1`.

Application.ensure_all_started(:kino)
|> dbg()

IO.inspect("kino #2")

Check warning on line 15 in test/vix/vips/livebook_render_test.exs

View workflow job for this annotation

GitHub Actions / Lint (1.17.x, 27.x)

There should be no calls to `IO.inspect/1`.
assert {:ok, %Image{ref: _ref} = image} = Image.new_from_file(img_path("puppies.jpg"))
IO.inspect("kino #3")

Check warning on line 17 in test/vix/vips/livebook_render_test.exs

View workflow job for this annotation

GitHub Actions / Lint (1.17.x, 27.x)

There should be no calls to `IO.inspect/1`.

assert %{
type: :grid,
Expand All @@ -21,6 +26,8 @@ if Code.ensure_loaded?(Kino.Render) do
%{export: false, type: :js}
]
} = Kino.Render.to_livebook(image)

IO.inspect("kino #4")

Check warning on line 30 in test/vix/vips/livebook_render_test.exs

View workflow job for this annotation

GitHub Actions / Lint (1.17.x, 27.x)

There should be no calls to `IO.inspect/1`.
end
end
end

0 comments on commit edf6394

Please sign in to comment.