Open maorleger opened 2 years ago
I had on offline chat with @maorleger. The gist of our conversation is:
@azure/test-utils
dependency to the Rest Generator. (It is Ok to introduce it in the Regular Generator also) chai
dependency from the Rest flavor. @azure/test-utils
package is released to npm. (Or, we could create an internal stream and release it there) @maorleger will work on releasing the package and then update this Issue. After that, we could work on this issue. Until then, we could put this issue in the backlog.
Once https://github.com/Azure/azure-sdk-for-js/pull/20195 is merged @azure/test-utils will re-export a version of chai preloaded with useful plugins.
This issue tracks updating the generator to use @azure/test-utils instead of chai
import { assert } from "@azure/test-utils"
instead of from "chai"Anything else I might have missed? There's no urgency to this, just the updated PR template reminded me to file an issue here (thanks @sarangan12 !)