Run formatter

This commit is contained in:
Jarred Sumner
2025-07-21 01:19:09 -07:00
parent 39dd5002c3
commit a868e859d7
3 changed files with 2 additions and 7 deletions

View File

@@ -245,7 +245,6 @@ linker = "hoisted"
## CI/CD
Use the official [`oven-sh/setup-bun`](https://github.com/oven-sh/setup-bun) action to install `bun` in a GitHub Actions pipeline:
```yaml#.github/workflows/release.yml
@@ -292,6 +291,4 @@ jobs:
run: bun run build
```
{% bunCLIUsage command="install" /%}

View File

@@ -194,9 +194,7 @@ export default function BlogPost(req, meta) {
expect(json1.meta.dirname).toBe(json1.meta.dir);
expect(json1.meta.path).toContain(platformPath("routes/blog/[...slug].ts"));
// url encoded!
expect(json1.meta.url).toMatch(
/^file:\/\/.*routes\/blog\/%5B\.\.\.slug%5D\.ts$/,
);
expect(json1.meta.url).toMatch(/^file:\/\/.*routes\/blog\/%5B\.\.\.slug%5D\.ts$/);
// Test multiple segments
const post2 = await dev.fetch("/blog/2024/tech/bun-framework");

View File

@@ -1,5 +1,5 @@
import { describe, expect, test } from "bun:test";
import { existsSync, readdirSync } from "fs";
import { existsSync } from "fs";
import { bunEnv, bunExe } from "harness";
import path from "path";
import { tempDirWithBakeDeps } from "../bake-harness";