Skip to content

Commit

Permalink
feat: 🔨 add dev script for opening lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Jul 23, 2023
1 parent a4efe23 commit 1d034da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/openLcov.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable no-underscore-dangle */
import opener from 'opener';
import path from 'path';

const __dirname = path.resolve(path.dirname(''));
const filePath = path.join(__dirname, '/coverage/lcov-report/index.html');

opener(filePath);

0 comments on commit 1d034da

Please sign in to comment.