-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
feat: Ignore popup/index.ts instead of erroring #1520
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
'popup/index.html', | ||
'popup/index.ts', | ||
'ui.html', | ||
]); | ||
expect(() => findEntrypoints()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't actually check anything. needs to be awaited and use .resolves API
await expect(() => findEntrypoints()).rejects.toThrowError( | ||
[ | ||
'Multiple entrypoints with the same name detected, only one entrypoint for each name is allowed.', | ||
'', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still want this empty string, i think?
'- popup', | ||
` - ${unnormalizePath('src/entrypoints/popup.html')}`, | ||
` - ${unnormalizePath('src/entrypoints/popup/index.html')}`, | ||
` - ${unnormalizePath('src/entrypoints/popup/index.ts')}`, | ||
``, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't want this empty string
Overview
#1333
Manual Testing
I still wasn't able to work the second test work. Could use some help.
Related Issue
This PR closes #1333