-
Notifications
You must be signed in to change notification settings - Fork 266
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
fix/resources-release #514
Conversation
…servers and clearing intervals.
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.
I've noticed that when running npm run node-tests
I get the following error:
[Fail] Node module from file: options_stringified.json, took: 133ms.
Mon Apr 22 2024 10:21:12 GMT+0200 [error] - Cannot create property 'chart' on string '{"title":{"text":"Stringified options"},"xAxis":{"categories":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},"series":[{"type":"column","data":[1,3,2,4]},{"type":"column","data":[5,3,4,2]}]}'
TypeError: Cannot create property 'chart' on string '{"title":{"text":"Stringified options"},"xAxis":{"categories":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},"series":[{"type":"column","data":[1,3,2,4]},{"type":"column","data":[5,3,4,2]}]}'
at doExport (file:///Users/jakubszuminski/Documents/Coding/Highcharts/exporting/node-export-server/lib/chart.js:360:21)
at Object.startExport (file:///Users/jakubszuminski/Documents/Coding/Highcharts/exporting/node-export-server/lib/chart.js:108:11)
at file:///Users/jakubszuminski/Documents/Coding/Highcharts/exporting/node-export-server/tests/node/node_test_runner.js:95:18
at new Promise (<anonymous>)
at file:///Users/jakubszuminski/Documents/Coding/Highcharts/exporting/node-export-server/tests/node/node_test_runner.js:72:13
at Array.map (<anonymous>)
at file:///Users/jakubszuminski/Documents/Coding/Highcharts/exporting/node-export-server/tests/node/node_test_runner.js:70:10
but I've checked and it appears on master as well so this is not a part of this pull request.
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.
Looking great!
@jszuminski Thanks for the reveiw and noticing the problem with the test. Will investigate it separately and fix it. |
FYI this PR appears to remove the |
@mikemeerschaert Thanks for noticing that! The |
Added fixes and corrections to releasing pool and resources, closing servers and clearing intervals.