Skip to content

Commit 6c7e869

Browse files
committed
Add extra test for GetFilenameFromUrl
1 parent 793d6fd commit 6c7e869

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/GetFilenameFromUrl.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ describe("GetFilenameFromUrl", function() {
7474
outputPath: "/",
7575
publicPath: "/test/",
7676
expected: "/sample.js"
77+
}, {
78+
url: "http://test.domain/test/sample.js",
79+
outputPath: "/",
80+
publicPath: "http://other.domain/test/",
81+
expected: false
7782
}
7883
];
7984
results.forEach(testUrl);

0 commit comments

Comments
 (0)