aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/turbo-codemod/templates/transformer.test.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/turbo-codemod/templates/transformer.test.hbs')
-rw-r--r--packages/turbo-codemod/templates/transformer.test.hbs25
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/turbo-codemod/templates/transformer.test.hbs b/packages/turbo-codemod/templates/transformer.test.hbs
deleted file mode 100644
index c63a9df..0000000
--- a/packages/turbo-codemod/templates/transformer.test.hbs
+++ /dev/null
@@ -1,25 +0,0 @@
-import { transformer } from "../src/transforms/{{ name }}";
-import { setupTestFixtures } from "./test-utils";
-
-describe("{{ name }}", () => {
-
- const { useFixture } = setupTestFixtures({ test: "{{ name }}" });
-
- test("basic", () => {
- // load the fixture for the test
- const { root, read, readJson } = useFixture({
- fixture: "specific-fixture",
- });
-
- // run the transformer
- const result = transformer({
- root,
- options: { force: false, dry: false, print: false },
- });
-
- // result should be correct
- expect(result.fatalError).toBeUndefined();
- expect(result.changes).toMatchInlineSnapshot();
- });
-});
-