test: fix import from components (#3581)
This commit is contained in:
parent
846efb3126
commit
3ddb32e2c7
@ -40,6 +40,7 @@ jobs:
|
|||||||
|
|
||||||
base_branch_cov:
|
base_branch_cov:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -50,7 +51,9 @@ jobs:
|
|||||||
node-version: v20.9.0
|
node-version: v20.9.0
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn
|
run: |
|
||||||
|
yarn
|
||||||
|
yarn build:core
|
||||||
|
|
||||||
- name: Run test coverage
|
- name: Run test coverage
|
||||||
run: yarn test:coverage
|
run: yarn test:coverage
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { HuggingFaceRepoData } from '@janhq/core/.'
|
import { HuggingFaceRepoData } from '@janhq/core'
|
||||||
import { atom } from 'jotai'
|
import { atom } from 'jotai'
|
||||||
|
|
||||||
// modals
|
// modals
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import React, { Fragment, useState } from 'react'
|
|||||||
|
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
|
|
||||||
import { InferenceEngine } from '@janhq/core/.'
|
import { InferenceEngine } from '@janhq/core'
|
||||||
import { Button, Input, Progress, ScrollArea } from '@janhq/joi'
|
import { Button, Input, Progress, ScrollArea } from '@janhq/joi'
|
||||||
|
|
||||||
import { useAtomValue, useSetAtom } from 'jotai'
|
import { useAtomValue, useSetAtom } from 'jotai'
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { SettingComponentProps } from '@janhq/core/.'
|
import { SettingComponentProps } from '@janhq/core'
|
||||||
|
|
||||||
export const presetConfiguration: Record<string, SettingComponentProps> = {
|
export const presetConfiguration: Record<string, SettingComponentProps> = {
|
||||||
prompt_template: {
|
prompt_template: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user