-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[amqp-common] Browser tests are failing #2678
Comments
@bterlson and I looked into this offline. The rollup and tests work as expected when And all of the mappings exposed by
Following is the usage of these references in rollup script for reference: cjs({
namedExports: {
chai: ["should"],
assert: ["equal", "deepEqual", "notEqual"]
}
}) Overall, the issue is consistently replicated when we use |
Can you try replacing |
This fixed it, or atleast got the same outcome as |
For future reference, this is due to rollup/rollup-plugin-node-resolve#94 which causes problems when you try to rollup and your node_modules contains symlinks. I will document this somewhere since it's likely to be a stumbling block. |
I am adding a section to the README to cover this situation. Sorry about the confusion! |
On running
npm run test:browser
, encountering following error:Source of error is due to browser tests not getting rolled up correctly where several instances of
undefined()
are being generated in the final file.Older versions of the repository are generating a different rolled up file with about 3000 less number of lines.
The goal of this issue is to investigate repository history and roll up scripts to determine fix.
The text was updated successfully, but these errors were encountered: