JavaScript
path.join vs. String Templates

by Benny Neugebauer

const Jasmine = require('jasmine');
const path = require('path');

const jasmine = new Jasmine();
jasmine.loadConfigFile(path.join(process.cwd(), 'spec', 'support', 'jasmine.json'));

const Jasmine = require('jasmine');
const path = require('path');

const jasmine = new Jasmine();
jasmine.loadConfigFile(`${process.cwd()}/spec/support/jasmine.json`);