Conversation
|
⏭️ No files to mutate for |
|
⏭️ No files to mutate for |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Statements | 100% | 0/0 |
| 🟢 | Branches | 100% | 0/0 |
| 🟢 | Functions | 100% | 0/0 |
| 🟢 | Lines | 100% | 0/0 |
Test suite run success
1 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from 09bca13
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Statements | 99.88% (+0.23% 🔼) |
856/857 |
| 🟢 | Branches | 99.57% (+0.87% 🔼) |
232/233 |
| 🟢 | Functions | 98.1% | 207/211 |
| 🟢 | Lines | 99.88% (+0.24% 🔼) |
823/824 |
Test suite run success
442 tests passing in 25 suites.
Report generated by 🧪jest coverage report action from 09bca13
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟡 | Statements | 70.97% | 22/31 |
| 🔴 | Branches | 20% | 1/5 |
| 🟡 | Functions | 75% | 6/8 |
| 🟡 | Lines | 68.97% | 20/29 |
Test suite run success
4 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from 09bca13
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟡 | Statements | 67.51% | 160/237 |
| 🟢 | Branches | 80% | 60/75 |
| 🔴 | Functions | 57.14% | 20/35 |
| 🟡 | Lines | 67.52% | 158/234 |
Test suite run success
67 tests passing in 4 suites.
Report generated by 🧪jest coverage report action from 09bca13
|
⏭️ No files to mutate for |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Statements | 100% | 98/98 |
| 🟢 | Branches | 100% | 36/36 |
| 🟢 | Functions | 100% | 24/24 |
| 🟢 | Lines | 100% | 91/91 |
Test suite run success
66 tests passing in 5 suites.
Report generated by 🧪jest coverage report action from 09bca13
| blocksManager.move(1, 1); | ||
|
|
||
| expect(model.removeBlock).toHaveBeenCalledWith(USER_ID, 1); | ||
| expect(model.addBlock).toHaveBeenCalledWith(USER_ID, { name: 'b' }, 2); |
| * @param blocks - array of blocks to insert | ||
| * @param [index] - index to insert blocks at. If undefined, inserts at the end | ||
| */ | ||
| public insertMany(blocks: BlockNodeSerialized[], index: number = this.#model.length + 1): void { |
There was a problem hiding this comment.
why +1, model indexing starts with 1?
| '@typescript-eslint/unbound-method': 'off', | ||
| '@typescript-eslint/naming-convention': 'off', | ||
| 'n/no-unsupported-features/node-builtins': 'off', |
| // @todo: remove when we setup eslint to correctly handle the types | ||
| 'n/no-missing-import': 'off', | ||
| '@typescript-eslint/unbound-method': 'off', | ||
| '@typescript-eslint/naming-convention': 'off', |
There was a problem hiding this comment.
why it is disabled for a whole project instead of tests-only?
No description provided.