"use strict";
var navigation_input_1 = require("../navigation.input");
var schema = require('./empty.schema.json');
var projectPackage = require('./projectPackage.json');
describe('pĺugins/navigation.directive#NavigationDirectives', function () {
    var plugin = new navigation_input_1.default(schema.data.__schema, projectPackage, {});
    test('plugin return navigation', function () {
        var navigations = plugin.getNavigations('Query');
        expect(navigations).toBeInstanceOf(Array);
        expect(navigations).toEqual([
            {
                title: 'Input Objects',
                items: [
                    { text: 'AddCommentInput', href: '/addcommentinput.doc.html', isActive: false },
                ]
            }
        ]);
    });
});
