UNPKG

website-page-frame

Version:

This library provides a way to allow browser based programs to have cross parent to child window communication through code.

25 lines (13 loc) 834 B
var AddFileSchemaToFrameAnscestorsChainLink = require("../../../../src/native/chain-links/AddFileSchemaToFrameAnscestorsChainLink.js").AddFileSchemaToFrameAnscestorsChainLink; var ResponseModificationChainLink = require("../../../../src/native/chain-links/ResponseModificationChainLink.js").ResponseModificationChainLink; function getMockAddFileSchemaToFrameAncestorsChainLink() { return new AddFileSchemaToFrameAnscestorsChainLink(); } describe("AddFileSchemaToFrameAnscestorsChainLink Class Test Suite", function() { beforeEach(function() { this.addFileSchemaToFrameAnscestorsChainLink = getMockAddFileSchemaToFrameAncestorsChainLink(); }); it("Constructor Test", function() { expect(this.addFileSchemaToFrameAnscestorsChainLink).toBeInstanceOf(ResponseModificationChainLink); }); });