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

fix(schematics): only begin converting to workspace once files have been checked #136

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

JamesHenry
Copy link
Collaborator

@JamesHenry JamesHenry commented Dec 4, 2017

This PR implements my proposed solution from #134. I am obviously coming at this cold, so open to any and all feedback 😄

Updated to use expect().toThrow()

Closes #134

});

it('should error if no package.json is present', () => {
(expect as any).assertions(1);
Copy link
Member

Choose a reason for hiding this comment

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

can we use expect().toThrow instead of expect.assertions? similar to how we do it in ngrx.spec.ts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, updated!

@JamesHenry JamesHenry force-pushed the workspace-pre-checks branch from 1734685 to 7128075 Compare December 4, 2017 19:30
@vsavkin vsavkin merged commit e7fd6b1 into master Dec 4, 2017
@JamesHenry JamesHenry deleted the workspace-pre-checks branch December 4, 2017 20:11
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conversion error caused by multiple CLI apps comes too late
2 participants