mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Run formatter
This commit is contained in:
@@ -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" /%}
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user