Added directory/file exists
This commit is contained in:
@@ -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`, () => {
|
||||
|
||||
Reference in New Issue
Block a user