"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var hover_1 = require("./hover");
var label_1 = require("./label");
var nodeArc_1 = require("./nodeArc");
jest.mock('./label', function () { return ({
    drawLabel: jest.fn()
}); });
jest.mock('./nodeArc', function () { return ({
    drawTwoArcs: jest.fn()
}); });
describe('drawHover tests', function () {
    var context = {};
    var settings = {};
    var data = {
        x: 1,
        y: 1,
        size: 12,
        label: 'Test label'
    };
    it('should call drawTwoArcs and drawLabel', function () {
        (0, hover_1.drawHover)(context, data, settings);
        expect(nodeArc_1.drawTwoArcs).toHaveBeenCalledWith(context, data);
        expect(label_1.drawLabel).toHaveBeenCalledWith(context, data, settings, { backgroundColor: '#FFF' });
    });
});
