Skip to content

Commit a5ca431

Browse files
committed
use node 24
1 parent 972c61d commit a5ca431

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ speed on some of the tools and concepts we'll be covering:
5050
## System Requirements
5151

5252
- [git][git] v2.18 or greater
53-
- **[NodeJS][node] v23.11.0 or greater**
53+
- **[NodeJS][node] v24 or greater**
5454
- [npm][npm] v8 or greater
5555

5656
All of these must be available in your `PATH`. To verify things are set up

exercises/04.performance/01.problem.profiling-slow-tests/src/rows.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { expensiveCompute } from './utils'
33
test('retrieves all the rows', function myTest() {
44
const rows = expensiveCompute()
55
expect(rows).toBeInstanceOf(Array)
6-
expect(rows).toHaveLength(100_000_000)
6+
expect(rows).toHaveLength(10_000_000)
77
})

exercises/04.performance/01.problem.profiling-slow-tests/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function expensiveCompute() {
22
const rows = []
33

4-
for (let i = 0; i < 100_000_000; i++) {
4+
for (let i = 0; i < 10_000_000; i++) {
55
rows.push(i)
66
}
77

exercises/04.performance/01.solution.profiling-slow-tests/src/rows.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { expensiveCompute } from './utils'
33
test('retrieves all the rows', function myTest() {
44
const rows = expensiveCompute()
55
expect(rows).toBeInstanceOf(Array)
6-
expect(rows).toHaveLength(100_000_000)
6+
expect(rows).toHaveLength(10_000_000)
77
})

exercises/04.performance/01.solution.profiling-slow-tests/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function expensiveCompute() {
22
const rows = []
33

4-
for (let i = 0; i < 100_000_000; i++) {
4+
for (let i = 0; i < 10_000_000; i++) {
55
rows.push(i)
66
}
77

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"exercises/*/*"
4848
],
4949
"engines": {
50-
"node": ">=23.0.0",
50+
"node": ">=24.0.0",
5151
"npm": ">=8.16.0",
5252
"git": ">=2.18.0"
5353
},

0 commit comments

Comments
 (0)