We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c6586c commit 58f631dCopy full SHA for 58f631d
test/arrays-test.js
@@ -30,15 +30,15 @@ describe('arrays', () => {
30
})
31
32
33
- describe('descructivelyAddElementToBeginningOfArray(array, element)', () => {
+ describe('destructivelyAddElementToBeginningOfArray(array, element)', () => {
34
it('adds an `element` to the beginning of an `array`', () => {
35
- expect(descructivelyAddElementToBeginningOfArray([1], 'foo')).to.eql(['foo', 1])
+ expect(destructivelyAddElementToBeginningOfArray([1], 'foo')).to.eql(['foo', 1])
36
37
38
it('alters `array`', () => {
39
const array = [1]
40
41
- descructivelyAddElementToBeginningOfArray(array, 'foo')
+ destructivelyAddElementToBeginningOfArray(array, 'foo')
42
43
expect(array).to.eql(['foo', 1])
44
0 commit comments