-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: Restructure packages #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I mostly left pp comments except the empty readme, that I think should contain at least some basic info.
packages/core/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[req] There should be at least something in this file... This will be the front page on npm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added basic info for now.
Co-authored-by: Marika Marszalkowski <[email protected]>
Co-authored-by: Marika Marszalkowski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
core
package (name can be discussed)test-util
, at the same level aspackages
.Right now, in ai-sdk I get the error: 'rootDir' is expected to contain all source files.This is fixed using the tsconfig.test.json setting.Update
We decided to not use the
jest.unstable_mockModule
for mocking thegetAiCoreDestination
function due to multiple issues. We will use the jest globalSetup and teardown to mock an env variable for unit testing.