-
Notifications
You must be signed in to change notification settings - Fork 8
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
CT: value should have typeof number, value=null #235
Comments
Reproduced in master with my working copy, using URL: This is specific to the My Solution screen. To reproduce:
There have been no changes to this sim, so it's likely a regression in common code. |
This is due to recent changes in ScientificNotationNode.ts for phetsims/scenery-phet#747. The relevant code is in GrabDragListener, which uses Bisecting commits to ScientificNotationNode.ts reveals that the problem was introduced in phetsims/scenery-phet@5a032253. |
Setting a debugger in GrabDragListener When dragging the OH- graph indicator ... BEFORE phetsims/scenery-phet@5a032253:
AFTER phetsims/scenery-phet@5a032253:
Here's a failing unit test for ScientificNotationNode.js: assert.deepEqual( ScientificNotationNode.toScientificNotation( 1.0484477197064377e-7, {
exponent: NULL_EXPONENT,
mantissaDecimalPlaces: 1
} ), { mantissa: '1.0', exponent: '-7' } ); |
In |
CT is happy. Closing. |
The issue in CT is fairly long. Here is a part:
The text was updated successfully, but these errors were encountered: