Skip to content

Are you allowed to do this? #70

@Bear-Coding

Description

@Bear-Coding

Can you expect more than one status code for one response?

tape("homepage endpoint", t => {
supertest(app)
.get("/")
.expect(200)
.end(function(err, res) {
t.equal(res.statusCode, 302, `/ route redirects you to the home route`);
t.end();
});
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions