Angular Unit Test Set Input Value, If you're using Jest, you need to upgrade Jest to v29.