forked from svrjs/svrjs
Fix the description for URL parser test suite
This commit is contained in:
parent
88554a05d2
commit
6461728eee
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
const parseURL = require("../../src/utils/urlParserLegacy.js");
|
const parseURL = require("../../src/utils/urlParserLegacy.js");
|
||||||
|
|
||||||
describe("URL parser(for SVR.JS 2.x and 3.x mods)", () => {
|
describe("URL parser (for SVR.JS 2.x and 3.x mods)", () => {
|
||||||
test("should parse a simple URL", () => {
|
test("should parse a simple URL", () => {
|
||||||
const parsedUrl = parseURL("http://example.com");
|
const parsedUrl = parseURL("http://example.com");
|
||||||
expect(parsedUrl.protocol).toBe("http:");
|
expect(parsedUrl.protocol).toBe("http:");
|
||||||
|
|
Reference in a new issue