Lints, fmt, tsc
This commit is contained in:
@ -8,3 +8,5 @@ VITE_KC_SKIP_AUTH=false
|
|||||||
VITE_KC_CONNECTION_TIMEOUT_MS=5000
|
VITE_KC_CONNECTION_TIMEOUT_MS=5000
|
||||||
# ONLY add your token in .env.development.local if you want to skip auth, otherwise this token takes precedence!
|
# ONLY add your token in .env.development.local if you want to skip auth, otherwise this token takes precedence!
|
||||||
#VITE_KC_DEV_TOKEN="your token from dev.zoo.dev should go in .env.development.local"
|
#VITE_KC_DEV_TOKEN="your token from dev.zoo.dev should go in .env.development.local"
|
||||||
|
# Add a prod token if you want to use the share URL feature in local dev
|
||||||
|
#VITE_KC_PROD_TOKEN="your token from prod.zoo.dev should go in .env.development.local"
|
1
interface.d.ts
vendored
1
interface.d.ts
vendored
@ -62,6 +62,7 @@ export interface IElectronAPI {
|
|||||||
TEST_SETTINGS_FILE_KEY: string
|
TEST_SETTINGS_FILE_KEY: string
|
||||||
IS_PLAYWRIGHT: string
|
IS_PLAYWRIGHT: string
|
||||||
VITE_KC_DEV_TOKEN: string
|
VITE_KC_DEV_TOKEN: string
|
||||||
|
VITE_KC_PROD_TOKEN: string
|
||||||
VITE_KC_API_WS_MODELING_URL: string
|
VITE_KC_API_WS_MODELING_URL: string
|
||||||
VITE_KC_API_BASE_URL: string
|
VITE_KC_API_BASE_URL: string
|
||||||
VITE_KC_SITE_BASE_URL: string
|
VITE_KC_SITE_BASE_URL: string
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
import { fireEvent, render, screen } from '@testing-library/react'
|
import { fireEvent, render, screen } from '@testing-library/react'
|
||||||
import { BrowserRouter, Route, Routes, useNavigate } from 'react-router-dom'
|
import { BrowserRouter, Route, Routes } from 'react-router-dom'
|
||||||
import { SettingsAuthProviderJest } from './SettingsAuthProvider'
|
|
||||||
import { CommandBarProvider } from './CommandBar/CommandBarProvider'
|
|
||||||
import { OpenInDesktopAppHandler } from './OpenInDesktopAppHandler'
|
import { OpenInDesktopAppHandler } from './OpenInDesktopAppHandler'
|
||||||
import { vi } from 'vitest'
|
|
||||||
import { useEffect, useState } from 'react'
|
|
||||||
|
|
||||||
function TestWrap({
|
function TestWrap({
|
||||||
children,
|
children,
|
||||||
|
@ -38,7 +38,6 @@ import {
|
|||||||
saveSettings,
|
saveSettings,
|
||||||
setSettingsAtLevel,
|
setSettingsAtLevel,
|
||||||
} from 'lib/settings/settingsUtils'
|
} from 'lib/settings/settingsUtils'
|
||||||
import { Project } from 'lib/project'
|
|
||||||
|
|
||||||
type MachineContext<T extends AnyStateMachine> = {
|
type MachineContext<T extends AnyStateMachine> = {
|
||||||
state?: StateFrom<T>
|
state?: StateFrom<T>
|
||||||
|
@ -14,6 +14,7 @@ export const VITE_KC_SKIP_AUTH = env.VITE_KC_SKIP_AUTH as string | undefined
|
|||||||
export const VITE_KC_CONNECTION_TIMEOUT_MS =
|
export const VITE_KC_CONNECTION_TIMEOUT_MS =
|
||||||
env.VITE_KC_CONNECTION_TIMEOUT_MS as string | undefined
|
env.VITE_KC_CONNECTION_TIMEOUT_MS as string | undefined
|
||||||
export const VITE_KC_DEV_TOKEN = env.VITE_KC_DEV_TOKEN as string | undefined
|
export const VITE_KC_DEV_TOKEN = env.VITE_KC_DEV_TOKEN as string | undefined
|
||||||
|
export const VITE_KC_PROD_TOKEN = env.VITE_KC_PROD_TOKEN as string | undefined
|
||||||
export const PROD = env.PROD as string | undefined
|
export const PROD = env.PROD as string | undefined
|
||||||
export const TEST = env.TEST as string | undefined
|
export const TEST = env.TEST as string | undefined
|
||||||
export const DEV = env.DEV as string | undefined
|
export const DEV = env.DEV as string | undefined
|
||||||
|
Reference in New Issue
Block a user