mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
14 lines
436 B
TypeScript
14 lines
436 B
TypeScript
import Assert = require("assert");
|
|
import { MongoConnectorFactory } from "../../../../../src/server/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);
|
|
});
|
|
});
|
|
});
|