How to use the builders.fixture.json function in builders

To help you get started, we’ve selected a few builders examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github buildbot / buildbot / www / console_view / src / module / main.module.spec.js View on Github external
xit('should match sort the builders by tag groups', function() {
        createController();
        const _builders = FIXTURES['builders.fixture.json'].builders;
        for (let builder of Array.from(_builders)) {
            builder.hasBuild = true;
        }
        scope.c.sortBuildersByTags(_builders);
        expect(_builders.length).toBe(scope.c.builders.length);
        expect(scope.c.tag_lines.length).toEqual(5);
    });
});