webamp/scripts/postcss-optimize-data-uri-pngs.test.js
Jordan Eldredge 296ffdd7da
Get Screenshot tests working in CI (#967)
* Use GitHub Actions only

This retires Travis, and starts upload screenshot diffs when integration
tests fail.

* Use screenshots that match CI font rendering

* Run tests on Node 12
2020-02-19 20:14:16 -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);
});