test: fix import from components (#3581)

This commit is contained in:
Louis 2024-09-06 15:36:50 +07:00 committed by GitHub
parent 846efb3126
commit 3ddb32e2c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View File

@ -40,6 +40,7 @@ jobs:
base_branch_cov:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
with:
@ -50,7 +51,9 @@ jobs:
node-version: v20.9.0
- name: Install dependencies
run: yarn
run: |
yarn
yarn build:core
- name: Run test coverage
run: yarn test:coverage

View File

@ -1,4 +1,4 @@
import { HuggingFaceRepoData } from '@janhq/core/.'
import { HuggingFaceRepoData } from '@janhq/core'
import { atom } from 'jotai'
// modals

View File

@ -2,7 +2,7 @@ import React, { Fragment, useState } from 'react'
import Image from 'next/image'
import { InferenceEngine } from '@janhq/core/.'
import { InferenceEngine } from '@janhq/core'
import { Button, Input, Progress, ScrollArea } from '@janhq/joi'
import { useAtomValue, useSetAtom } from 'jotai'

View File

@ -1,4 +1,4 @@
import { SettingComponentProps } from '@janhq/core/.'
import { SettingComponentProps } from '@janhq/core'
export const presetConfiguration: Record<string, SettingComponentProps> = {
prompt_template: {