title: How do i go to parent directory when using __dirname?
body: <p><strong>Directory structure :</strong></p>
  
  <ul>
  <li>WebApiRole
  <ul>
  <li>GulpFile.js</li>
  </ul></li>
  <li>test
  <ul>
  <li>Karma.conf.js</li>
  </ul></li>
  </ul>
  
  <p>Gulp code from <strong>GulpFile.js</strong></p>
  
  <pre><code>gulp.task('test', function (done) {
      karma.start({
          configFile: _configFile: __dirname + '\\..\\test\\karma.conf.js',
          singleRun: true
      }, done);
  });
  </code></pre>
  
  <p>So my problem going to the parent directory and access the <strong>karma.conf.js</strong> . For some reason the path is not get resolved with <code>..\\</code> to go back to the parent directory of WebApiRole . can someone point me in the right direction ?</p>