Replace destructuring with screen object from @chakra-ui/test-utils
refactor(standalone-toast): replace destructuring with screen object from @chakra-ui/test-utils
Replace destructuring with screen object from @chakra-ui/test-utilscc0912-refactor-replace-destructuring-with-screen-object-fromrefactorreplace destructuring screen object chakra test
Committed by TimKolberger
commit message
refactor(standalone-toast): replace destructuring with screen object from @chakra-ui/test-utilsEditor assessment
The subject states the migration precisely: destructuring was replaced with the screen object from @chakra-ui/test-utils in the standalone-toast tests. The standalone-toast scope is a proper package noun, the refactor type matches a test-idiom modernization, and both the old and new mechanisms are named. There is no body, acceptable since the headline fully describes the swap and the package source. No footers appear. The lowercase imperative phrasing is clean, and the message tells a test maintainer exactly what changed and to what.