test/components/c_facets/cf_registry_test.js

Summary

Maintainability
A
1 hr
Test Coverage
'use strict';

/* eslint-env browser, commonjs, node, mocha */

var facetsRegistry = require('../../../lib/components/c_facets/cf_registry')
    , ComponentFacet = require('../../../lib/components/c_facet')
    , testRegistry = require('../../utils/test_registry')
    , config = require('../../../lib/config');

describe('registry of facets', function() {
    before(function() {
        config({ check: true });
    });

    after(function() {
        config({ check: false });
    });

    testRegistry(facetsRegistry, ComponentFacet);
});