gluestack / gluestack-ui

React & React Native Components & Patterns (copy-paste components & patterns crafted with Tailwind CSS (NativeWind))
https://gluestack.io/
MIT License
2.43k stars 116 forks source link

Tests on new project dont pass #2181

Open ofersadgat opened 4 months ago

ofersadgat commented 4 months ago

Description

if you create a new project using the method on the website, tests dont pass

CodeSandbox/Snack link

https://github.com/ofersadgat/gluestack-bug

Steps to reproduce

  1. npm create gluestack
  2. What would you like to build? Select "React Native app"
  3. What is the name of your application? (i put my-app-ts)
  4. cd my-app-ts
  5. npm run test
  6. Failure. "SyntaxError: Cannot use import statement outside a module"

gluestack-ui Version

latest

Platform

Other Platform

No response

Additional Information

No response

surajahmed commented 4 months ago

@ofersadgat Thanks for reporting this. We'll have a look.

ofersadgat commented 3 months ago

@surajahmed any updates on this?

ofersadgat commented 3 months ago

@akash3gtm

akash3gtm commented 3 months ago

hi @ofersadgat , We will update the tests and then push the new template. The tests cases made previously are not compatible with the new version.

ofersadgat commented 3 months ago

@akash3gtm can you comment on the thread when the new template with working tests has been pushed?