Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

エンジンの情報を通常のビルド・起動と同じ方法で読み込むようにする #8

Open
so-c opened this issue Jul 17, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@so-c
Copy link
Owner

so-c commented Jul 17, 2022

内容

テストコード内でdotenv.config()しているのでbackground.tsのエンジン連携部分の実装を迂回してしまっている

こうした特殊なことをせず、想定環境、ビルド手順と同じ方法で起動してテストしたい

Pros 良くなる点

実利用に近い状態のアプリケーションをテストできる

Cons 悪くなる点

複数エンジンをside-by-sideインストールして、
パラメタライズドにテストするならこのままの方が効率がよい

実現方法

色々試したが難しそう refs #4
ビルド、テスト実行、background.ts どこにどう手を入れるとうまくいくのかわからない

@so-c so-c added the enhancement New feature or request label Jul 17, 2022
@so-c so-c added the help wanted Extra attention is needed label Jul 17, 2022
@so-c
Copy link
Owner Author

so-c commented Jul 17, 2022

参照するエンジンはNODE_ENVでも.envDEFAULT_ENGINE_INFOSでもなくvue.config.js の

const VOICEVOX_ENGINE_DIR =
で決まっている?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant