我需要模拟CodeceptJS测试的时间。我的React组件使用new Date()函数: const Component = () => { return <h1>Im a componentMockDate.set('2018-10');
// Actual test here
MockDate.reset(); 我怎样才能用<e
当使用Protractor驱动程序使用CodeceptJS运行我的测试时,测试成功运行,但是进程没有退出,所以每次我都必须强制-停止它,而且我也不能在我的CI服务器上运行它们,否则它总是超时。[ // See https://chromium.googlesource.com/chromium/src/