webamp/scripts/postcss-optimize-data-uri-pngs.test.js
Jordan Eldredge a1df4bfc73 Use GitHub Actions only
This retires Travis, and starts upload screenshot diffs when integration
tests fail.
2020-02-19 19:54:58 -08:00

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