Skip to content

Conversation

cressie176
Copy link
Collaborator

No description provided.

"noPrototypeBuiltins": "error",
"noVar": "error"
"noVar": "error",
"noExportsInTest": "off"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that the tests have describe / it, biome recognises them as tests and complains about the exports

}
describe('Error handling', () => {

it('Throw error in connection open callback', (done) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since amqplib no longer supports v0.8 or earlier, we no longer have to worry about ignoring the test in earlier version

.then((open) => {
send(defs.ChannelCloseOk, {}, open.channel);
})
.then(succeed(done), fail(done)))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the formatting that was somehow missed in the previous PR

})
.then(succeed(done), fail(done));
}
));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed some more formatting that was previously missed in the previous PR

send(defs.BasicDeliver, DELIVER_FIELDS, ch, Buffer.from(''));
}, done);
}
));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More formatting fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant