test: fix import from components (#3581)
This commit is contained in:
parent
846efb3126
commit
3ddb32e2c7
@ -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
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { HuggingFaceRepoData } from '@janhq/core/.'
|
||||
import { HuggingFaceRepoData } from '@janhq/core'
|
||||
import { atom } from 'jotai'
|
||||
|
||||
// modals
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { SettingComponentProps } from '@janhq/core/.'
|
||||
import { SettingComponentProps } from '@janhq/core'
|
||||
|
||||
export const presetConfiguration: Record<string, SettingComponentProps> = {
|
||||
prompt_template: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user