chore: add formatting
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { describe, expect, test } from "bun:test";
|
||||
import { HttpError, MAX_SCENE_BYTES, emptyScene, normalizeScene, parseJsonBody } from "./scene";
|
||||
import {
|
||||
HttpError,
|
||||
MAX_SCENE_BYTES,
|
||||
emptyScene,
|
||||
normalizeScene,
|
||||
parseJsonBody,
|
||||
} from "./scene";
|
||||
|
||||
describe("scene helpers", () => {
|
||||
test("creates empty scenes with dark theme by default", () => {
|
||||
|
||||
+3
-1
@@ -62,7 +62,9 @@ export function normalizeScene(input: unknown): ScenePayload {
|
||||
}
|
||||
|
||||
const appState = Object.fromEntries(
|
||||
Object.entries(input.appState).filter(([key]) => !VOLATILE_APP_STATE_KEYS.has(key)),
|
||||
Object.entries(input.appState).filter(
|
||||
([key]) => !VOLATILE_APP_STATE_KEYS.has(key),
|
||||
),
|
||||
);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user