更新:我的用例主要是在CI上运行测试,但覆盖默认CRA Jest参数是我一般想知道的。 我使用Jest,配置与Create React App来运行测试。它始终启动到交互模式: › Press a to run all tests.
› Press o to only run tests related to changed files.
› Press p to filter by a fi
我正在尝试下面的代码。 int TestMethod(int a, int b)
{
printf("In TestMethod %d, %d \r\n", a, b);
return 0;
}
int main(void)
{
void (*ap_cb_function)() = (void(*)())TestMethod;
ap_cb_fu