aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/transpiler.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/bunjs-only-snippets/transpiler.test.js')
-rw-r--r--integration/bunjs-only-snippets/transpiler.test.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/integration/bunjs-only-snippets/transpiler.test.js b/integration/bunjs-only-snippets/transpiler.test.js
index 0a33954c5..8480dd091 100644
--- a/integration/bunjs-only-snippets/transpiler.test.js
+++ b/integration/bunjs-only-snippets/transpiler.test.js
@@ -52,7 +52,11 @@ describe("Bun.Transpiler", () => {
describe("transform", () => {
it("removes types", () => {
- const out = transpiler.transform(code);
+ expect(code.includes("ActionFunction")).toBe(true);
+ expect(code.includes("LoaderFunction")).toBe(true);
+
+ const out = transpiler.transformSync(code);
+
expect(out.includes("ActionFunction")).toBe(false);
expect(out.includes("LoaderFunction")).toBe(false);
a Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.changeset/spotty-glasses-return.md (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-05-30[ci] release (#7190)astro@2.5.6@astrojs/webapi@2.2.0@astrojs/vue@2.2.1@astrojs/vercel@3.4.1@astrojs/sitemap@1.3.2@astrojs/react@2.2.1@astrojs/preact@2.2.1@astrojs/partytown@1.2.3@astrojs/mdx@0.19.5@astrojs/markdoc@0.3.0Gravatar Houston (Bot) 1-5/+0
2023-05-30Content collections - fix `.json` collection errors (#7246)Gravatar Ben Holmes 4-7/+52
2023-05-30[ci] formatGravatar bholmesdev 4-5/+5
2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 16-257/+217
2023-05-30Markdoc: new README for Markdoc nodes (#7225)Gravatar Ben Holmes 1-46/+85
2023-05-30[ci] formatGravatar MoustaphaDev 1-1/+1
2023-05-30fix: prioritize dynamic prerendered routes over dynamic server routes (#7235)Gravatar Happydev 6-19/+361
2023-05-30[ci] formatGravatar matthewp 1-5/+8
2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 10-0/+138