style(deps): migrated from Prettier to Biome and updated formatting rules
- Removed Prettier configuration files (.prettierignore and .prettierrc) and migrated formatting to Biome. - Updated Biome configuration from version 2.3.11 to 2.3.12 and changed arrowParentheses rule from 'always' to 'asNeeded'. - Pinned @biomejs/biome dependency to exact version 2.3.12 in package.json and bun.lock. - Applied consistent arrow function formatting across 489 files by removing unnecessary parentheses around single parameters. - Removed blank lines after comment blocks and reorganized imports for consistency across the codebase.
This commit is contained in:
@@ -61,7 +61,7 @@ describe("executePython session lifecycle", () => {
|
||||
|
||||
it("reuses a session kernel across calls", async () => {
|
||||
let startCount = 0;
|
||||
const kernel = new FakeKernel(okResult, { onExecute: (options) => options?.onChunk?.("ok\n") });
|
||||
const kernel = new FakeKernel(okResult, { onExecute: options => options?.onChunk?.("ok\n") });
|
||||
PythonKernel.start = async () => {
|
||||
startCount += 1;
|
||||
return kernel as unknown as PythonKernel;
|
||||
@@ -78,7 +78,7 @@ describe("executePython session lifecycle", () => {
|
||||
|
||||
it("restarts the session kernel when not alive", async () => {
|
||||
const deadKernel = new FakeKernel(okResult, { alive: false });
|
||||
const liveKernel = new FakeKernel(okResult, { onExecute: (options) => options?.onChunk?.("live\n") });
|
||||
const liveKernel = new FakeKernel(okResult, { onExecute: options => options?.onChunk?.("live\n") });
|
||||
const kernels = [deadKernel, liveKernel];
|
||||
let startCount = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user