Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
czosel authored Oct 1, 2024
1 parent 3017e81 commit 06232f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/components/category-nav/category-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module("Integration | Component | category-nav/category", function (hooks) {
await triggerEvent("[data-test-drop]", "drop", {
dataTransfer: {
getData: () => documents.map((d) => d.id).join(","),
// sometimes browser send a file as well (e.g. when dragging a thumbnail) - this should be ignored
files: [new File(["Thumbnail"], "test-file.txt")],
},
});
Expand Down

0 comments on commit 06232f3

Please sign in to comment.