cal.pub0.org/packages/embeds/embed-react/test/packaged
Hariom Balhara a0bf5b4067
test: Smoke Tests for packaged embeds and build improvements (#9169)
* Fix 2 Factor Auth

* Add a sandbox to verify types of embed-react

* Add fault types location

* Fix type location again

* Break types

* Ensure that builds are done again when doing pbublish

* Debug failure in CI

* Make sure unit test files arent used by playwright

* Fix embed-react test description

* Update .github/workflows/e2e-embed-react.yml

Co-authored-by: Omar López <zomars@me.com>

* Remove unnecessary log

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
2023-06-01 20:41:30 +00:00
..
README.md test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
api.test.ts test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
tsconfig.json test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00

README.md

Packaged

The tests in this file are run on the packaged code that is published to npm. The packaged code is different from the source code in atleast the following ways

  • Not all files go to packaged code.If package.json -> files field is specified then only the files that are specified there would be published. So, one might accidentally miss an important file that's available otherwise.
  • The packaged code doesn't have .ts files. Those files are actually converted to .js files and .d.ts files are generated separately for TypeScript support. It allows the package to work in both TypeScript and non TypeScript environments.