Skip to content

Commit

Permalink
resolve (hopefully) race condition in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoes committed Mar 15, 2024
1 parent e835182 commit d23aec4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"jsdoc": "^4.0.0",
"jsdom": "^20.0.3",
"jsdom-worker": "^0.3.0",
"node-fetch": "^2.6.7",
"node-fetch": "^2.7.0",
"raw-loader": "^4.0.2",
"source-map-support": "^0.5.21",
"taffydb": "^2.7.3",
Expand Down
2 changes: 1 addition & 1 deletion src/GLViewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2190,6 +2190,7 @@ export class GLViewer {
$3Dmol.get('data/1fas.pqr', function(data){
viewer.addModel(data, "pqr");
viewer.zoomTo();
$3Dmol.get("data/1fas.cube",function(volumedata){
viewer.addSurface($3Dmol.SurfaceType.VDW, {
opacity:0.85,
Expand All @@ -2199,7 +2200,6 @@ export class GLViewer {
viewer.render();
});
viewer.zoomTo();
});
*/
public zoomTo(sel: AtomSelectionSpec = {}, animationDuration: number = 0, fixedPath: boolean = false) {
Expand Down
1 change: 1 addition & 0 deletions tests/jest/generate_jest_render_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def preproc_src(string: str) -> str:
});
});
server.maxRequestsPerSocket = 1; //workaround weird race condition
server.listen(8125);
}
);
Expand Down

0 comments on commit d23aec4

Please sign in to comment.