webamp/scripts/postcss-optimize-data-uri-pngs.test.js
2019-03-03 22:10:40 -08:00

12 lines
382 B
JavaScript

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 on Travis
it.skip("does something", async () => {
const result = await postcss([plugin({})]).process(css);
expect(result.css.length).toBeLessThan(css.length);
});