         jsFile = path.resolve __dirname, "../testFixtures/react/includeReact.js"
         transformTools.runTransform aliasify, jsFile, (err, result) ->
             return done err if err
-            assert.equal result, """
+            assert.equal Mocha.utils.clean(result), Mocha.utils.clean("""
                 react1 = require('react/addons');
                 react2 = require('react/addons');
-            """
+            """)
             done()
 
     it "should correctly resolve Windows absolute paths", (done) ->

            }
        }

        content = """
            foo = require("foo");
        """
        # Note the \\\\ here, because this is in "s, but this resolves to a double \\.
        # The double \\ is still needed, since \\ inside of ''s resolves to a single \ in the end.
        expectedContent = """
            foo = require('c:\\\\foo.js');
        """

        transformTools.runTransform aliasifyWithConfig, jsFile, {content}, (err, result) ->
            return done err if err


        transformTools.runTransform aliasifyWithConfig, jsFile, (err, result) ->
            return done err if err
            assert.equal Mocha.utils.clean(result), Mocha.utils.clean("""
                d3 = require('./../foo/bar.js');
                _ = require("underscore");
            """)
            done()

    it "should allow paths after an alias", (done) ->
