Skip to content

Error: Timeout of Xms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. #96

Open
@icontreras-pit

Description

@icontreras-pit

Hi guys, I need help please. I am trying to do a simple test with timeout of 30000ms, but I don't know why throw this error: Error: Timeout of 30000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

describe('describe 1', function () {
    it('test 1', function (done) {
        expect(200).to.be.equal(200);
        done;
    }).timeout(30000);    
});

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions