1.4.x_branch (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
import { get_version, instance_id, package_json } from '../utils/constants';
|
||||
import * as uuid from 'uuid';
|
||||
|
||||
test(`can read 'package.json'`, () => {
|
||||
console.log(package_json);
|
||||
expect(package_json).toBeDefined();
|
||||
});
|
||||
|
||||
test(`'instance_id' is valid`, () => {
|
||||
console.log(instance_id);
|
||||
expect(instance_id).toBeDefined();
|
||||
expect(uuid.parse(instance_id)).toBeInstanceOf(Uint8Array);
|
||||
});
|
||||
|
||||
test(`'version' can be read from 'package.json'`, () => {
|
||||
console.log(get_version());
|
||||
expect(get_version()).toBe('1.4.0-r1');
|
||||
});
|
||||
import { get_version, instance_id, package_json } from '../utils/constants';
|
||||
import * as uuid from 'uuid';
|
||||
|
||||
test(`can read 'package.json'`, () => {
|
||||
console.log(package_json);
|
||||
expect(package_json).toBeDefined();
|
||||
});
|
||||
|
||||
test(`'instance_id' is valid`, () => {
|
||||
console.log(instance_id);
|
||||
expect(instance_id).toBeDefined();
|
||||
expect(uuid.parse(instance_id)).toBeInstanceOf(Uint8Array);
|
||||
});
|
||||
|
||||
test(`'version' can be read from 'package.json'`, () => {
|
||||
console.log(get_version());
|
||||
expect(get_version()).toBe('1.4.0-r1');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user