Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Add unit tests for util.js #18563

Closed
wants to merge 2 commits into from
Closed

Add unit tests for util.js #18563

wants to merge 2 commits into from

Conversation

cschanaj
Copy link
Collaborator

No description provided.

describe('utils.js', function() {
describe('getNormalisedHostname', function() {
it("removes tailing dots", function() {
assert.strictEqual(utils.getNormalisedHostname("example.com."), "example.com");
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't mix ' and ".

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. thanks 😄

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

Successfully merging this pull request may close these issues.

2 participants