aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/turbo-codemod/templates/transformer.test.hbs
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:25:40 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:25:40 +0800
commit9029588590bea8b10451575c5142dcde77ecd1b5 (patch)
tree04cf8aee56c23fd225ff19d340f7cee621d874ef /packages/turbo-codemod/templates/transformer.test.hbs
parent94071d7ce16c56641d67d488e2bac6be84ffe731 (diff)
downloadHydroRoll-9029588590bea8b10451575c5142dcde77ecd1b5.tar.gz
HydroRoll-9029588590bea8b10451575c5142dcde77ecd1b5.zip
chore: delete useless files
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();
- });
-});
-