• 陌路。
    2019-11-25
    老师,不同文件的变量。 为什么不能同名?

    作者回复: 这些文件是全局的吧,如果是模块,是可以同名的

    
    
  • 拯救不开心
    2019-10-09
    老师,有个问题,
    运行 test脚本时,我看到项目中的所有 ts 文件的名称中只要包含 test (比如 a.test.ts),就都会被检查,
    这就是规则吗?

    作者回复: 是的

    
    
  • 子曰
    2019-08-24
    Test Suites: 1 failed, 1 passed, 2 total
    Tests: 2 passed, 2 total
    Snapshots: 0 total
    Time: 0.576s, estimated 1s
    Ran all test suites.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! test@ test: `jest`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the test@ test script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    完全按照老师的步骤来的还是会报错
    展开
    
    
我们在线,来聊聊吧