Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zauni committed Sep 16, 2024
1 parent 6d56a70 commit 25681af
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"vcs": {
"clientKind": "git",
"enabled": true,
"defaultBranch": "main",
"useIgnoreFile": true
},
"organizeImports": {
"enabled": true
},
Expand Down
2 changes: 1 addition & 1 deletion src/fixtures/vite/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference lib="dom" />

import api from "../api.yaml";
import api2 from "../api.openapi.json";
import api from "../api.yaml";

const root = document.getElementById("root");

Expand Down
2 changes: 1 addition & 1 deletion src/vite.browser.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, test } from "@playwright/test";
import { rm, writeFile } from "node:fs/promises";
import { expect, test } from "@playwright/test";
import type { Plugin } from "vite";
import { copyDirectory, startVite } from "../test-utils.js";
import openapi from "./vite.js";
Expand Down
2 changes: 1 addition & 1 deletion test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { copyFile, mkdir, readdir } from "node:fs/promises";
import { join } from "node:path";
import { createServer, type Plugin } from "vite";
import { type Plugin, createServer } from "vite";

export async function startVite(root: string, plugin: Plugin) {
const server = await createServer({
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"resolveJsonModule": true
}
}

0 comments on commit 25681af

Please sign in to comment.