mol_plot_all 1.2.451 → 1.2.452

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.test.js CHANGED
@@ -1996,6 +1996,8 @@ var $;
1996
1996
  function $mol_fail_catch(error) {
1997
1997
  if (typeof error !== 'object')
1998
1998
  return false;
1999
+ if (error instanceof Promise)
2000
+ $mol_fail_hidden(error);
1999
2001
  if (cacthed.get(error))
2000
2002
  return false;
2001
2003
  cacthed.set(error, true);