authelia/server/test/connectors/mongo/MongoConnectorFactory.test.ts

14 lines
423 B
TypeScript
Raw Normal View History

import Assert = require("assert");
import { MongoConnectorFactory } from "../../../src/lib/connectors/mongo/MongoConnectorFactory";
describe("MongoConnectorFactory", function () {
describe("create", function () {
it("should create a connector", function () {
const factory = new MongoConnectorFactory();
const connector = factory.create("mongodb://test.url");
Assert(connector);
});
});
});