You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
320 B
JavaScript
12 lines
320 B
JavaScript
import { breakText } from '../src/textProcessing/breakText.js'
|
|
|
|
describe('breakText', function() {
|
|
it('returns an array', function() {
|
|
expect(Array.isArray(breakText('Hello World'))).toBeTruthy()
|
|
})
|
|
|
|
it('array is of appropriate length', function() {
|
|
expect(breakText('Hello World').length).toBe(2)
|
|
})
|
|
})
|