mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Fix Jest
This commit is contained in:
parent
3e0417267a
commit
833060e1ae
1 changed files with 3 additions and 2 deletions
|
|
@ -1,11 +1,12 @@
|
|||
const fs = require("fs");
|
||||
const postcss = require("postcss");
|
||||
|
||||
const plugin = require("./postcss-optimize-data-uri-pngs");
|
||||
|
||||
const css = fs.readFileSync("./css/base-skin.css", "utf8");
|
||||
// This seems to timeout a lot in CI
|
||||
it.skip("does something", async () => {
|
||||
const { default: plugin } = await import(
|
||||
"./postcss-optimize-data-uri-pngs.mjs"
|
||||
);
|
||||
const result = await postcss([plugin({})]).process(css);
|
||||
expect(result.css.length).toBeLessThan(css.length);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue