<commit_before>import { loadFixture, testVM } from "../../utils/helpers";
import regeneratorRuntime from "regenerator-runtime";

// TODO: Export function from col.js
function computeBkPtClass(type, breakpoint, val) {
    let className = type;
    if (val === false || val === null || val === undefined) {
        return undefined;
    }
    if (breakpoint) {
        className += `-${breakpoint}`;
    }
    if (type === "col" && (val === "" || val === true)) {
        // .col-md
        return className.toLowerCase();
    }
    // .order-md-6
    className += `-${val}`;
    return className.toLowerCase();
}

describe("col", async () => {
    beforeEach(loadFixture("col"));
    testVM();

    it("should apply '.col' when no props passed", async () => {<commit_msg>Update col.spec.js<commit_after>import { loadFixture, testVM } from "../../utils/helpers";
import regeneratorRuntime from "regenerator-runtime";

// TODO: Export function from col.js
function computeBkPtClass(type, breakpoint, val) {
    let className = type;
    if (val === false || val === null || val === undefined) {
        return undefined;
    }
    if (breakpoint) {
        className += `-${breakpoint}`;
    }
    if (type === "col" && (val === "" || val === true)) {
        // .col-md
        return className.toLowerCase();
    }
    // .order-md-6
    className += `-${val}`;
    return className.toLowerCase();
}

describe("col", async () => {
    beforeEach(loadFixture("col", "layout"));
    testVM();

    it("should apply '.col' when no props passed", async () => {
{'fraction_non_alphanumeric': 0.18713826366559486, 'fraction_numerical': 0.0012861736334405145, 'mean_word_length': 2.767554479418886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7639151', 'n_tokens_mistral': 467, 'n_tokens_neox': 474, 'n_words': 122}