-
Notifications
You must be signed in to change notification settings - Fork 63
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: Convert lib/tests
to TypeScript
#1345
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.
Nice, this is looking good! Just a few minor comments
APP_FUNCTION: 'APP_FUNCTION', | ||
AUTOMATION_ACTION: 'AUTOMATION_ACTION', | ||
REACT_EXTENSION: 'REACT_EXTENSION', | ||
} as const; |
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.
You can just grab these from LDL
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.
I was getting an error when I attempted that--it didn't look to me like the enums
folder where this is located had an export assigned in LDL's package.json. Am I missing anything?
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.
Oh interesting, I didn't realize those aren't exported. That's fine then!
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!
APP_FUNCTION: 'APP_FUNCTION', | ||
AUTOMATION_ACTION: 'AUTOMATION_ACTION', | ||
REACT_EXTENSION: 'REACT_EXTENSION', | ||
} as const; |
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.
Oh interesting, I didn't realize those aren't exported. That's fine then!
Description and Context
In this PR, I've converted the following files from
/lib/__tests__
to TypeScript:commonOpts.test.ts
dependencyManagement.test.ts
projectsLogManager.test.ts
projects.test.ts
serverlessLogs.test.ts
is the final file from/lib/__tests__
that needs TS conversion, but the prerequisite files haven't been converted yet. I plan to make that its own PR.TODO
Who to Notify
@brandenrodgers @camden11 @joe-yeager