react-monaco-editor
Version:
Monaco Editor for React
17 lines (14 loc) • 410 B
JavaScript
;
const exists = require("./npm-exists");
describe("npm-exists", () => {
it("should successfully existence of a published module", () => {
exists("webpack-addons-ylvis").then(status => {
expect(status).toBe(true);
});
});
it("should return false for the existence of a fake module", () => {
exists("webpack-addons-noop").then(status => {
expect(status).toBe(false);
});
});
});