mirror of https://github.com/webpack/webpack.git
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
import "./style.css";
|
|
|
|
it(`should work with URLs in CSS`, done => {
|
|
const links = document.getElementsByTagName("link");
|
|
const css = [];
|
|
|
|
// Skip first because import it by default
|
|
for (const link of links.slice(1)) {
|
|
css.push(link.sheet.css);
|
|
}
|
|
|
|
expect(css).toMatchSnapshot();
|
|
done();
|
|
});
|