chiubaka / generator-chiubaka-typescript-package

Yeoman generator for standard Chiubaka Technologies TypeScript packages for libraries and other such things.
1 stars 0 forks source link

Update CircleCiGenerator tests to use YAML assertions #68

Open chiubaka opened 2 years ago

chiubaka commented 2 years ago

This is strictly better than relying on string matches in the file

chiubaka commented 2 years ago

I just tried to do this as part of #74, but got stuck on the YAML assertions not quite working the way I wanted them to.

Specifically, I would like to be able to provide a partial object match in the assertion and have the matcher ignore extra object properties on the received object so long as the ones provided match.

Same thing for lists--I should be able to provide one matching item of a list without the entire list and have the assertion pass.

Breaking this out into a separate issue.