Sha256: a6cc238c3e9fd8f0418a1ce61971e110ec31baeaf1bdf7bc35d139c8a53a1745

Contents?: true

Size: 454 Bytes

Versions: 14

Compression:

Stored size: 454 Bytes

Contents

function assertEqual(expected, actual) {
    expect(expected).toEqual(actual);
}

function refuteEqual(expected, actual) {
    expect(expected).toNotEqual(actual);
}

function assertEmpty(expected) {
    expect(expected.length).toEqual(0);
}

function refuteEmpty(expected) {
    expect(expected.length).toBeGreaterThan(0);
}

function assertNull(value) {
    expect(value).toBeNull();
}

function refuteNull(value) {
    expect(value).not.toBeNull();
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
transistor-0.1.13 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.12 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.11 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.10 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.9 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.8 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.7 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.6 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.5 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.4 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.3 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.2 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.1 spec/javascripts/helpers/AssertHelpers.js
transistor-0.1.0 spec/javascripts/helpers/AssertHelpers.js