Skip to content

使用Karma遇到的问题 #82

Description

@Jerry379

this.should.equal(global)在终端中断言正常执行,但是尝试使用karma进行测试时,在浏览器中提示global is not defined。像这种测试用例中出现global的情况该如何使用karma进行测试呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions