Skip to content

Commit 58f631d

Browse files
committed
Fix spelling of "destructive"
1 parent 7c6586c commit 58f631d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/arrays-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ describe('arrays', () => {
3030
})
3131
})
3232

33-
describe('descructivelyAddElementToBeginningOfArray(array, element)', () => {
33+
describe('destructivelyAddElementToBeginningOfArray(array, element)', () => {
3434
it('adds an `element` to the beginning of an `array`', () => {
35-
expect(descructivelyAddElementToBeginningOfArray([1], 'foo')).to.eql(['foo', 1])
35+
expect(destructivelyAddElementToBeginningOfArray([1], 'foo')).to.eql(['foo', 1])
3636
})
3737

3838
it('alters `array`', () => {
3939
const array = [1]
4040

41-
descructivelyAddElementToBeginningOfArray(array, 'foo')
41+
destructivelyAddElementToBeginningOfArray(array, 'foo')
4242

4343
expect(array).to.eql(['foo', 1])
4444
})

0 commit comments

Comments
 (0)