source: trip-planner-front/node_modules/karma/lib/utils/path-utils.js@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 331 bytes
RevLine 
[6a3a178]1'use strict'
2
3const path = require('path')
4
5const PathUtils = {
6 formatPathMapping (path, line, column) {
7 return path + (line ? `:${line}` : '') + (column ? `:${column}` : '')
8 },
9
10 calculateAbsolutePath (karmaRelativePath) {
11 return path.join(__dirname, '..', '..', karmaRelativePath)
12 }
13
14}
15
16module.exports = PathUtils
Note: See TracBrowser for help on using the repository browser.