nodejs更新后失败的单元测试用例

时间:2018-03-21 09:42:26

标签: unit-testing phantomjs angular-cli

NodeJS更新后,单元测试用例失败。早些时候,单元测试用例运行良好。以下是错误。我正在使用gulp,业力来运行测试用例。在macOS high Sierra上运行

  

PhantomJS 2.1.1(Mac OS X 0.0.0)错误{       “message”:“在allAll \ nSyntaxError:Unexpected token'}'中抛出了一个错误\ n。引用错误:无法找到变量:   xxxModule \ nReferenceError:找不到变量:   xxxModule \ nReferenceError:找不到变量:xxxModule“,       “str”:“在allAll \ nSyntaxError:Unexpected token'}'中抛出了一个错误\ n \ n \ n \ n \参考错误:找不到变量:   xxxModule \ nReferenceError:找不到变量:   xxxModule \ nReferenceError:找不到变量:xxxModule“}

0 个答案:

没有答案