mirror of https://github.com/webpack/webpack.git
6 lines
167 B
JavaScript
6 lines
167 B
JavaScript
|
|
it("should handle import.meta.url in URL()", () => {
|
||
|
|
const {href} = new URL("./index.css", import.meta.url);
|
||
|
|
|
||
|
|
expect(href).toBe("https://test.cases/index.css");
|
||
|
|
});
|