diff --git a/generators/fastify-plugin/templates/README.md b/generators/fastify-plugin/templates/README.md index 9528064..cb75ddc 100644 --- a/generators/fastify-plugin/templates/README.md +++ b/generators/fastify-plugin/templates/README.md @@ -1,6 +1,6 @@ # @<%= scope %>/<%= name %> -A [Fastify](https://github.com/fastify/fastify) plugin that provides an easy integration of billing. +A [Fastify](https://github.com/fastify/fastify) plugin that provides an easy integration of <%= baseName %>. ## Installation diff --git a/generators/fastify-plugin/templates/__test__/plugin.test.ts b/generators/fastify-plugin/templates/__test__/plugin.test.ts index 7e6e03c..cb7a6b9 100644 --- a/generators/fastify-plugin/templates/__test__/plugin.test.ts +++ b/generators/fastify-plugin/templates/__test__/plugin.test.ts @@ -1,12 +1,12 @@ import Fastify from "fastify"; import { describe, it, expect } from "vitest"; -import billingPlugin from "../src/index"; +import plugin from "../src/index"; -describe("Billing plugin", () => { +describe("plugin", () => { it("should be exported as default and register without issues", async () => { const fastify = Fastify(); - await expect(fastify.register(billingPlugin)).resolves.not.toThrow(); + await expect(fastify.register(plugin)).resolves.not.toThrow(); }); });