forked from svrjs/svrjs
Modify the description for URL parser test suite
This commit is contained in:
parent
2884c33c8c
commit
88554a05d2
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", () => {
|
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