Skip to content

Commit

Permalink
fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ts-ign0re committed Aug 10, 2022
1 parent 6de885c commit de97de6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm i jim-wendler-program
yarn add jim-wendler-program
```

### Usage Jim Welder Program
### Usage Jim Wendler Program

```TypeScript
// Original Jim Wendler Program with 315 punds as max lift weight
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jim-wendler-program",
"version": "0.1.0",
"description": "Jim Welder Powerlifting Program Algorithm",
"description": "Jim Wendler Powerlifting Program Algorithm",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/default-program.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ describe('defaultProgram', () => {
const week3 = { load: [0.75, 0.85, 0.95], reps: ['5', '3', '1+'] };
const week4 = { load: [0.4, 0.5, 0.6], reps: ['5', '5', '5+'] };

const jim_welder_program = [week1, week2, week3, week4];
const jim_wendler_program = [week1, week2, week3, week4];
test('should return calculated load', () => {
const [w1, w2, w3, w4] = defaultProgram(285, jim_welder_program);
const [w1, w2, w3, w4] = defaultProgram(285, jim_wendler_program);
expect(w1[0].weight).toBe(185);
expect(w1[0].reps).toBe('5');
expect(w1[1].weight).toBe(215);
Expand Down

0 comments on commit de97de6

Please sign in to comment.