Skip to content

Include a test client #18

Description

@tooxie

Include a test client:

var app = new Kolba.App();
var client = app.getClient();

var payload = {"somePayload": "some value"};

client.post('/home', payload);

This way there's no need to put the app to listen in a socket in order to test it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions