@uswds/uswds
Version:
Open source UI components and visual style guide for U.S. government websites
32 lines (27 loc) • 705 B
JavaScript
require("sass-embedded");
const path = require("path");
const {
runGulp,
distScssPath,
render,
} = require("../../packages/uswds-core/src/js/utils/test/util");
const includePath = path.resolve(path.join(__dirname, "../"));
describe("include paths", () => {
it('can be loaded with @import "uswds"', async () => {
setTimeout(() => {
render('@import "uswds";', [includePath]);
}, 20000);
});
});
describe("standalone dist scss", () => {
before(() => {
setTimeout(() => {
runGulp("copy-dist-sass");
}, 20000);
});
it('can be loaded with @import "uswds"', () => {
setTimeout(() => {
render('@import "uswds";', [distScssPath]);
}, 20000);
});
});