Added directory/file exists

This commit is contained in:
2021-06-01 23:26:43 -05:00
parent 491c82b040
commit 534c311dac
6 changed files with 118 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import {get_version, instance_id, package_json} from '../utils/constants';
import { get_version, instance_id, package_json } from '../utils/constants';
import * as uuid from 'uuid';
test(`can read 'package.json'`, () => {
@@ -14,7 +14,7 @@ test(`'instance_id' is valid`, () => {
test(`'version' can be read from 'package.json'`, () => {
console.log(get_version());
expect(get_version()).toBe('1.3.1-r1');
expect(get_version()).toBe('1.3.1-r3');
});
test(`'version' can be overridden by environment variable`, () => {