Skip to content

fix: test failed #85

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

Merged
merged 1 commit into from
Oct 5, 2022
Merged

fix: test failed #85

merged 1 commit into from
Oct 5, 2022

Conversation

Himenon
Copy link
Owner

@Himenon Himenon commented Oct 5, 2022

Summary

closes #84

Test Plan

README.md Outdated
pnpm build && pnpm test
pnpm build
pnpm test:code:gen
pnpm test
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update test document

#### your change
pnpm build
pnpm test:code:gen
pnpm test
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update test document

@@ -11,14 +11,16 @@ import { shell } from "./tools/shell";
const generateVersionTsFile = () => {
const codes: string[] = [`export const Name = "${pkg.name}";`, `export const Version = "${pkg.version}";`];
const tscCode = codes.join(EOL);
if (process.env.CI) {
Copy link
Owner Author

@Himenon Himenon Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove CI Flag. Developer can always reproduce test.

@Himenon Himenon merged commit 05d981d into main Oct 5, 2022
@Himenon Himenon deleted the fix/test-failed branch October 5, 2022 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: test:snapshot is failed on main branch
1 participant