Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-06-11Merge branches 'update-travis-node-versions', 'change-carriage-returns' and ↵Rens Baardman
'fix-167-global-var-leakage'
2019-06-11Fix #167: non-enumerable globals are now also prefixed with `var`fix-167-global-var-leakageRens Baardman
2019-06-11Change line endings from carriage returns to line feedschange-carriage-returnsRens Baardman
2017-11-11Remove legacy code for node < 4Johannes Ewald
2017-11-11Update .travis.ymlJohannes Ewald
Remove unsupported node versions
2017-11-11Refactor codeJohannes Ewald
2015-11-16Move testLib into dedicated folder inside root folderJohannes Ewald
2015-11-14Move shared test cases into lib folderJohannes Ewald
Since new versions of npm respect the .npmignore even when it comes from git urls, we need to move the shared test cases into the lib folder in order to provide these cases to other modules which port rewire's functionality to other environments. As discussed at https://github.com/jhnns/rewire-webpack/pull/18
2015-10-13Make properties writableEli White
2015-04-28Fix issue where the strict mode was not detected when a comment was before ↵Johannes Ewald
"strict mode"; Fixes #54
2015-02-23Fix problems when global objects like JSON, etc. have been rewiredJohannes Ewald
Fixes #40
2015-02-17Add possibility to mock undefined, implicit globalsJohannes Ewald
Fixes #35
2015-02-06Add support for dot notationJohannes Ewald
#39
2015-02-05Fix issues with reverting nested propertiesJohannes Ewald
Fixes #39
2015-02-05Use mocha to check for global leaksJohannes Ewald
2015-01-16ignore invalid variable names during injection of global paramsZolmeister
2014-12-14Add test for implicit global varsJohannes Ewald
#35
2014-11-04Fix shadowing of internal `module`, `exports` and `require` when a global ↵Johannes Ewald
counterpart exists @see https://github.com/jhnns/rewire-webpack/pull/6
2014-10-28revise test to find all leaked globalsRich Trott
2014-10-28rm commentsRich Trott
2014-10-28fix leak, add test, for #33Rich Trott
2014-10-25rewire methods as non-enumerableNick Bottomley
2014-07-10Improve shared test casesJohannes Ewald
2014-07-10Add test to check whether __with__ ignores all returned values which are not ↵Johannes Ewald
a promise
2014-07-08Add promise feature to __with__Johannes Ewald
2014-07-08Improve __with__ testsJohannes Ewald
2014-07-08Refactor testsJohannes Ewald
2014-07-08Move __with__-function into own moduleJohannes Ewald
2014-07-07added __with__ function according to proposed syntax in issue #29Bob Pace
2014-07-01__set__ returns an 'undo' function that when invoked will restore the module ↵Bob Pace
to the values it had before it was called
2014-05-20Added fix for node 0.11.x testsJohannes Ewald
2014-05-20Fixed wrong gitignoreJohannes Ewald
2014-05-20Added istanbul for test coverageJohannes Ewald
2013-10-01- removed client-side bundlers (for webpack support take a look at ↵jhnns
https://github.com/jhnns/rewire-webpack)
2013-03-13- Removed note on IEv1.1.2Johannes Ewald
2013-03-13- Rolled back fake-package.json-mechanismJohannes Ewald
2013-03-13- Forced fake package.json to be committedJohannes Ewald
2013-03-13- Reintroduced shared test casesJohannes Ewald
2013-03-13- Fixed wrong path in testJohannes Ewald
2013-03-13- Added deprecation warning for client-side bundlersJohannes Ewald
- Updated package.json for node v0.10 - Removed tests for client-side bundlers - Updated .travis.yml for node v0.10 - Updated README
2013-03-02- added a test for the case where a comment is on the last lineJohannes Ewald
2013-02-23- added Coffee-Script support closes #8 (jashkenas/coffee-script#2707)Johannes Ewald
- renamed internalRewire.js to simply rewire.js - moved all the stuff related to manipulating the module environment to moduleEnv.js
2012-09-18- Improved strict mode detectionJohannes
2012-08-20- Woops! Adjusted test to API change :)v1.0.0Johannes
2012-08-20- All tests runningJohannes
- Added changelog
2012-08-18- Introduced webpack bundler for rewire (work in progress, some tests are ↵Johannes
not running)
2012-08-17- Removed (node.js) from test nameJohannes
2012-07-10- fixed parsing error when trying to set a function as mockv0.3.2Johannes
- update to mocha 1.3.x - fixed minor IE issues
2012-07-03- fixed bug when using b.addEntry()Johannes
- small fixes
2012-07-02- changed browserify version to 1.13.5Johannes
- fixed global var injection in the browser