title: How to go back 1 folder level with __dirname?
body: <p>I am using <a href="https://github.com/karma-runner/gulp-karma" rel="noreferrer">gulp-karma</a> and facing a simple problem but cannot seems to find what i am doing wrong . </p>
  
  <pre><code>gulp.task('test', function (done) {
      karma.start({
          configFile: __dirname + '..\\test\\' +'\karma.conf.js',
          singleRun: true
      }, done);
  });
  </code></pre>
  
  <p>Here is the code i am using and i cannot seems to go 1 level back in the folder directory . When i do the above it just <strong>append</strong> the <code>..\</code> to the folder direcotry without going 1 level back (which is the usual use of <code>..\</code>). Following is the folder structure . </p>
  
  <pre><code>parent|
        test|karma.conf.js
        webapirole|gulpfile.js
  </code></pre>
  
  <p>and my folder is inside the <strong>webapirole</strong> folder . i want to go back 1 folder back and go inisde the <strong>test</strong> folder which contains the karma.conf.js file. can anyone make me understand what i am doing wrong here ?</p>
  
  <p><strong>error i am getting</strong></p>
  
  <pre><code>[18:06:32] Starting 'tdd'...
  ERROR [config]: File C:\Users\Documents\WebApiRole..\test\karma.conf.js does not exist
  </code></pre>