Source code

Revision control

Copy as Markdown

Other Tools

/* Any copyright is dedicated to the Public Domain.
"use strict";
// Import libs
const { shallow } = require("enzyme");
const { createFactory } = require("react");
const ManifestEmpty = createFactory(
require("resource://devtools/client/application/src/components/manifest/ManifestEmpty.js")
);
/**
* Test for ManifestEmpty component
*/
describe("ManifestEmpty", () => {
it("renders the expected snapshot", () => {
const wrapper = shallow(ManifestEmpty({}));
expect(wrapper).toMatchSnapshot();
});
});