Skip to content

Commit

Permalink
fix: await
Browse files Browse the repository at this point in the history
  • Loading branch information
amychisholm03 committed Sep 11, 2024
1 parent afd87c2 commit 63597be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/metric/normalizer-tx-segment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ test('The TxSegmentNormalizer', async (t) => {
// iterate over the cross_agent_tests
for (const test of txTestData) {
// create the test and bind the test data to it.
t.test(`should be ${test.testname}`, () => {
await t.test(`should be ${test.testname}`, () => {
runTest(test)
})
}

t.test('should reject non array to load', () => {
await t.test('should reject non array to load', () => {
const normalizer = new TxSegmentNormalizer()
normalizer.load(1)
assert.ok(Array.isArray(normalizer.terms))
Expand Down

0 comments on commit 63597be

Please sign in to comment.