This is the test suite for the Intercooler.js library. Simply loading this page in a browser will run all the tests
New tests should follow the existing test templates, using
the intercoolerTest() helper and mockjax for
mocking out AJAX requests.
Running:
Form submission with submit button works
| Source: | https://intercoolerjs.org/release/intercooler-1.2.2.js:33 |
|---|
| Source: | https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:138 |
|---|
| Expected: | true |
|---|---|
| Result: | false |
| Diff: |
|
| Source: | at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:212:16) |
| Expected: | true |
|---|---|
| Result: | false |
| Diff: |
|
| Source: | at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:214:16) |
| Expected: | true |
|---|---|
| Result: | false |
| Diff: |
|
| Source: | at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:216:16) |
| Expected: | true |
|---|---|
| Result: | false |
| Diff: |
|
| Source: | at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:218:16) |
| Expected: | true |
|---|---|
| Result: | false |
| Diff: |
|
| Source: | at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:220:16) |
| Expected: | true |
|---|---|
| Result: | false |
| Diff: |
|
| Source: | at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:222:16) |
| Source: | ReferenceError: Intercooler is not defined
at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:233:15) |
|---|
| Source: | ReferenceError: Intercooler is not defined
at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:266:19) |
|---|
| Source: | ReferenceError: Intercooler is not defined
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:282:7
at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:96:9) |
|---|
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:309:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:334:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:359:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:383:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "foo" |
|---|---|
| Result: | "" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:400:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | 0 |
|---|---|
| Result: | 1 |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:418:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:441:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:462:12
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Source: | ReferenceError: Intercooler is not defined
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:468:16
at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:96:9) |
|---|
| Source: | ReferenceError: Intercooler is not defined
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:475:15
at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:96:9) |
|---|
| Source: | ReferenceError: Intercooler is not defined
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:482:15
at Object.<anonymous> (https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:96:9) |
|---|
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:507:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "Bar" |
|---|---|
| Result: | "Foo" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:527:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "foobar" |
|---|---|
| Result: | "bar" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:546:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | "barfoo" |
|---|---|
| Result: | "bar" |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:565:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | 10 |
|---|---|
| Result: | undefined |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:582:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |
| Expected: | 1 |
|---|---|
| Result: | 0 |
| Diff: |
|
| Source: | at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:599:14
at https://intercoolerjs.org/release/zepto_unit-tests-1.2.2.html?foo=bar:99:11 |