guys, any examples of unit testing typescript proj...
# general
t
guys, any examples of unit testing typescript projects with jest? (or any js testing framework for that matter)
w
Today, the only test framework we have is the one we use internally which happens to use Go and
go test
, but can run tests against Pulumi applications written in any language. You can see an example of this here: https://github.com/pulumi/eks/blob/master/nodejs/eks/examples/examples_test.go We have plans to move to a model where we can enable any test framework within the language you are using to author your Pulumi applications to be used to author and run test - so jest, mocha, etc for Node. We expect to enable both tests of deployment, validation and tear down - along with offline validation that components will create the expected child resources with the expected inputs to validate logical correctness of complex components without the need to actually deploy to a cloud provider.
t
brilliant, so I think this means sit tight for now with TypeScript based testing