UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

11 lines (9 loc) 328 B
import { config } from "../../src/index"; describe("config class", () => { it("loads config", () => { // statically defined expect(config.general.cachePrefix).toBe("actionhero:cache:"); // generated from another config file expect(config.servers.web.httpHeaders["X-Powered-By"]).toBe("actionhero"); }); });