ts-bdd
Version:
A TypeScript BDD testing framework with typed shared examples and state management
17 lines • 479 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Service = void 0;
const repo_js_1 = require("./repo.js");
class Service {
static async findAll() {
return repo_js_1.Repository.findAll();
}
static async findById(id) {
return repo_js_1.Repository.findById(id);
}
static async create(name) {
return repo_js_1.Repository.create(name);
}
}
exports.Service = Service;
//# sourceMappingURL=index.js.map