You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fewer false warnings: a local in a test may reuse the name of a test or a @beforeEach function (W1004), since nothing calls those by name.
Fewer false warnings: what your test files do to the game's API (taking C_EventUtils away and back, _G[name] = nil) no longer counts toward your addon's load order, so your addon's own reads of it are no longer W1034 or W1033.
Fewer false warnings: the bundling warning W6001 now only flags code that takes a Lua file name from debugstack or debuglocals. Keeping a stack for an error report, or reading your addon's folder from it, works the same in a bundled build.
Tests: an item from mock.defineItem is ready at once unless you give cached = false, a delay or missing (as the docs said: before, an item defined without options never loaded), and has item level 1 unless you give one.
Fixed
Tests: the auction house answers every query. A query sent while another was under way was never answered, so a search right after the house opened never came back.
Tests: each mock.defineAuctionHouse starts a fresh auction house, so purchases, search results and posted auctions no longer carry over from an earlier test (two auctions could share an ID, and cancelling one removed both).
Tests: changing an item key from the auction house (for a sell search) no longer changes the house's own data.
Tests: a Shift-click counts as a modified click (IsModifiedClick("CHATLINK")), so Shift-click linking works as in the game.