Skip to content

In ajax.js: Update tests to validate content not just of type string #127

@juwara0

Description

@juwara0

In ajax.js: Update tests to validate the content not just that it is of type string for the lines below:

assert.equal( typeof requestSpy.args[0][0].data, 'string', 'icAjax should return a string');

assert.equal( typeof requestSpy.args[0][0].data, 'string' );

assert.equal( typeof requestSpy.args[0][0].data, 'string', 'icAjax should return a string');

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