Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25109] Windows: Mocha test Titanium.UI constants UNIT_PX test failure

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2018-04-05T05:48:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsfailure-reviewed
ReporterEric Merriman
AssigneeKota Iguchi
Created2017-08-11T16:21:40.000+0000
Updated2018-04-05T05:48:07.000+0000

Description

Titanium.UI constants UNIT_PX please investigate the failure. Please use https://github.com/ewanharris/titanium-mobile-mocha-suite/tree/TIMOB-24816 to find the related test You can use https://github.com/ewanharris/mocha-test to quickly debug (most) mocha tests)

Comments

  1. Ewan Harris 2017-09-06

    Error "error":{"name":"AssertionError","actual":10,"operator":"to be a string","message":"expected 10 to be a string","generatedMessage":true,"stack":"/should.js:1411:20\n/your-test.js:213:52\nrun@/ti-mocha.js:4380:36\nrunTest@/ti-mocha.js:4768:13\n/ti-mocha.js:4846:19\nnext@/ti-mocha.js:4693:16\n/ti-mocha.js:4703:11\nnext@/ti-mocha.js:4641:25\n/ti-mocha.js:4670:9\ntimeslice@/ti-mocha.js:5777:27"} Should be a string not a number
  2. Kota Iguchi 2018-04-05

    This works fine on Windows.

JSON Source