chore: Migrate block of unit tests to node:test #5397
Annotations
2 errors and 5 notices
Run Unit Tests:
test/unit/harvester.test.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
Run Unit Tests
Process completed with exit code 1.
|
Run Unit Tests:
test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
|
Run Unit Tests:
test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
|
Run Unit Tests:
test/unit/serverless/aws-lambda.test.js#L1229
Removing listeners for beforeExit
|
Run Unit Tests:
test/unit/serverless/aws-lambda.test.js#L1229
Re-adding listeners for beforeExit
|
Run Unit Tests
Error:: Test "resolve when all data is sent" at test/unit/harvester.test.js:96:1 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: should call send on enabled aggregator" and would have caused the test to fail, but instead triggered an uncaughtException event.
Total Tests: 3275
Suites 📂: 0
Passed ✅: 3255
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 16
Duration 🕐: 65140.254ms
|
Loading