chore(deps): update npm dependencies without major updates #250
Annotations
10 errors
src/parser/generic-parser.test.ts:
src/parser/generic-parser.test.ts#L114
TypeError: Invalid language object
❯ Parser.setLanguage node_modules/tree-sitter/index.js:351:17
❯ src/parser/generic-parser.test.ts:114:12
|
src/parser/metric-calculator.test.ts > MetricCalculator.calculateMetrics() > should calculate all metrics of type source code for a python file:
src/parser/metric-calculator.test.ts#L102
TypeError: Invalid language object
❯ Parser.setLanguage node_modules/tree-sitter/index.js:351:17
❯ src/parser/metric-calculator.test.ts:102:16
|
src/parser/metric-calculator.test.ts > MetricCalculator.calculateMetrics() > should calculate lines of code and maximum nesting level for a JSON file:
src/parser/metric-calculator.test.ts#L119
TypeError: Invalid language object
❯ Parser.setLanguage node_modules/tree-sitter/index.js:351:17
❯ src/parser/metric-calculator.test.ts:119:16
|
src/parser/metric-calculator.test.ts > MetricCalculator.calculateMetrics() > should include an error object in the result when an error is thrown while calculating any metric on a source file:
src/parser/metric-calculator.test.ts#L173
TypeError: Invalid language object
❯ Parser.setLanguage node_modules/tree-sitter/index.js:351:17
❯ src/parser/metric-calculator.test.ts:173:16
|
test/metric-end-results/bash-metrics.test.ts > Bash metrics tests > parses functions metric > should count all function declarations :
test/metric-end-results/test-helper.ts#L106
AssertionError: expected undefined to be 7 // Object.is equality
- Expected:
7
+ Received:
undefined
❯ Module.expectFileMetric test/metric-end-results/test-helper.ts:106:25
❯ testFileMetric test/metric-end-results/bash-metrics.test.ts:11:9
❯ test/metric-end-results/bash-metrics.test.ts:21:13
|
test/metric-end-results/bash-metrics.test.ts > Bash metrics tests > parses complexity metric > should counts all if and elif labels:
test/metric-end-results/test-helper.ts#L106
AssertionError: expected undefined to be 8 // Object.is equality
- Expected:
8
+ Received:
undefined
❯ Module.expectFileMetric test/metric-end-results/test-helper.ts:106:25
❯ testFileMetric test/metric-end-results/bash-metrics.test.ts:11:9
❯ test/metric-end-results/bash-metrics.test.ts:27:13
|
test/metric-end-results/bash-metrics.test.ts > Bash metrics tests > parses complexity metric > should counts all ternary expression:
test/metric-end-results/test-helper.ts#L106
AssertionError: expected undefined to be 1 // Object.is equality
- Expected:
1
+ Received:
undefined
❯ Module.expectFileMetric test/metric-end-results/test-helper.ts:106:25
❯ testFileMetric test/metric-end-results/bash-metrics.test.ts:11:9
❯ test/metric-end-results/bash-metrics.test.ts:31:13
|
test/metric-end-results/bash-metrics.test.ts > Bash metrics tests > parses complexity metric > should counts all binary logical operators (&& and ||):
test/metric-end-results/test-helper.ts#L106
AssertionError: expected undefined to be 15 // Object.is equality
- Expected:
15
+ Received:
undefined
❯ Module.expectFileMetric test/metric-end-results/test-helper.ts:106:25
❯ testFileMetric test/metric-end-results/bash-metrics.test.ts:11:9
❯ test/metric-end-results/bash-metrics.test.ts:35:13
|
test/metric-end-results/bash-metrics.test.ts > Bash metrics tests > parses complexity metric > should counts all for loops:
test/metric-end-results/test-helper.ts#L106
AssertionError: expected undefined to be 4 // Object.is equality
- Expected:
4
+ Received:
undefined
❯ Module.expectFileMetric test/metric-end-results/test-helper.ts:106:25
❯ testFileMetric test/metric-end-results/bash-metrics.test.ts:11:9
❯ test/metric-end-results/bash-metrics.test.ts:39:13
|
test/metric-end-results/bash-metrics.test.ts > Bash metrics tests > parses complexity metric > should counts all while loops:
test/metric-end-results/test-helper.ts#L106
AssertionError: expected undefined to be 4 // Object.is equality
- Expected:
4
+ Received:
undefined
❯ Module.expectFileMetric test/metric-end-results/test-helper.ts:106:25
❯ testFileMetric test/metric-end-results/bash-metrics.test.ts:11:9
❯ test/metric-end-results/bash-metrics.test.ts:43:13
|