ibm-js / requirejs-dplugins

AMD plugins for RequireJS
http://ibm-js.github.io/requirejs-dplugins/
Other
6 stars 9 forks source link

has() test failure #5

Closed wkeese closed 9 years ago

wkeese commented 9 years ago

When running both grunt intern:local and grunt intern:remote I get:

FAIL: main - has - plugin - normalization (471ms) AssertionError: expected 'resources!test' to equal './resources!test' at Function.assert.strictEqual (http://127.0.0.1:9000/__intern//node_modules/chai/chai.js:2487:32)

I see that the travis build passed (https://travis-ci.org/ibm-js/requirejs-dplugins) but it's failing for me.

Likewise, it fails when run from the browser http://localhost/requirejs-dplugins/node_modules/intern/client.html?config=tests/intern&suites=requirejs-dplugins/tests/all.

From tracing through the code, it looks like the has.js is not mangling anything, so I presume its the default normalize() method for hasplugin.js (i.e. hasplugin.js doesn't have a normalize method so it uses the default normalization)

wkeese commented 9 years ago

Oh actually, nevermind, this is something that was fixed between requirejs 2.1.11 and 2.1.15.