Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c23a24

Browse files
committed
small reduce-test tweaks
1 parentf693710 commit6c23a24

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎reduce/reduce-test.js‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import { expect } from 'chai'
33

44
describe('map tests',()=>{
55

6-
it.skip('should add all thenumbes together',()=>{
6+
it.skip('should add all thenumbers together',()=>{
77
constnumbers=[32,1,21,5,81,333];
88

99
// your code goes here
1010

11-
expect(result).to.equal(473);
11+
expect(results).to.equal(473);
1212
});
1313

1414
it.skip('should subtract all the numbers',()=>{
@@ -19,7 +19,7 @@ describe('map tests', () => {
1919
expect(results).to.equal(-170);
2020
});
2121

22-
it.skip('should multiply a list ofnumber',()=>{
22+
it.skip('should multiply a list ofnumbers',()=>{
2323
constnumbers=[2,3,5,7];
2424

2525
//initial value is 1
@@ -40,7 +40,6 @@ describe('map tests', () => {
4040
it.skip('all second values add together',()=>{
4141
constelements=[["a",1],["b",9],["c",21]];
4242

43-
// initial value is 10
4443
// your code goes here
4544

4645
expect(results).to.equal(31);
@@ -71,4 +70,4 @@ describe('map tests', () => {
7170

7271
expect(smallestValue).to.deep.equal({a:100});
7372
});
74-
});
73+
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp