{"size": 1000, "ext": "js", "max_stars_repo_path": "force-app/main/default/lwc/serviceScheduleCreator/__tests__/serviceScheduleCreator.test.js", "max_stars_repo_name": "mshanemc/PMM", "max_stars_repo_stars_event_min_datetime": "2020-05-21T18:12:24.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-15T08:08:31.000Z", "max_issues_repo_path": "force-app/main/default/lwc/serviceScheduleCreator/__tests__/serviceScheduleCreator.test.js", "max_issues_repo_name": "mshanemc/PMM", "max_issues_repo_issues_event_min_datetime": "2020-04-29T16:48:11.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-29T21:19:21.000Z", "max_forks_repo_path": "force-app/main/default/lwc/serviceScheduleCreator/__tests__/serviceScheduleCreator.test.js", "max_forks_repo_name": "mshanemc/PMM", "max_forks_repo_forks_event_min_datetime": "2020-06-16T21:43:15.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-08T23:58:20.000Z"}
{"max_stars_count": 18, "max_issues_count": 216, "max_forks_count": 12, "avg_line_length": 27.027027027, "max_line_length": 114, "alphanum_fraction": 0.622}
/*
 *
 *  * Copyright (c) 2020, salesforce.com, inc.
 *  * All rights reserved.
 *  * SPDX-License-Identifier: BSD-3-Clause
 *  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
 *
 */

import { createElement } from "lwc";
import ServiceScheduleCreator from "c/serviceScheduleCreator";

describe("c-service-schedule-creator", () => {
    let element;

    afterEach(global.clearDOM);

    beforeEach(() => {
        element = createElement("c-service-schedule-creator", {
            is: ServiceScheduleCreator,
        });
    });

    it("element is accessible", () => {
        document.body.appendChild(element);

        return global.flushPromises().then(async () => {
            const spinner = element.shadowRoot.querySelector("lightning-spinner");

            expect(spinner).not.toBeNull();

            // TODO: Validate accessibility when each step is loads.
            global.isAccessible(element);
        });
    });
});
