source: frontend/node_modules/istanbul-lib-instrument/src/constants.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 386 bytes
Line 
1const { createHash } = require('crypto');
2const { name } = require('../package.json');
3// TODO: increment this version if there are schema changes
4// that are not backwards compatible:
5const VERSION = '4';
6
7const SHA = 'sha1';
8module.exports = {
9 SHA,
10 MAGIC_KEY: '_coverageSchema',
11 MAGIC_VALUE: createHash(SHA)
12 .update(name + '@' + VERSION)
13 .digest('hex')
14};
Note: See TracBrowser for help on using the repository browser.