Types #289
Annotations
8 errors
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should join words with default settings:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected ', , and undefined' to be 'apple, banana, and cherry' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should handle a single word:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected undefined to be 'apple' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should handle two words:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected ' and ' to be 'apple and banana' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should use custom separator:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected '; ; and undefined' to be 'apple; banana; and cherry' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should use custom last separator:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected ', , or undefined' to be 'apple, banana, or cherry' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should not use Oxford comma when specified:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected ', and undefined' to be 'apple, banana and cherry' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should add quotes when specified:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected '"undefined", "undefined", and "undefi…' to be '"apple", "banana", and "cherry"' // Object.is equality
|
|
packages/utils/test/utils.test.js ► String Utilities > joinWords > should handle array with falsy values:
tests/results/test-results-unit-junit.xml#L0
Failed test found in:
tests/results/test-results-unit-junit.xml
Error:
AssertionError: expected ', , , , , and undefined' to be 'apple, , , banana, , and cherry' // Object.is equality
|