[dev/build/version info] convert to integration tests (#89511)

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2021-01-28 18:13:56 -07:00 committed by GitHub
parent 67014a7970
commit 7465976c25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,10 +6,11 @@
* Public License, v 1.
*/
import pkg from '../../../../package.json';
import { getVersionInfo } from './version_info';
import { kibanaPackageJSON as pkg } from '@kbn/dev-utils';
jest.mock('./get_build_number');
import { getVersionInfo } from '../version_info';
jest.mock('../get_build_number');
describe('isRelease = true', () => {
it('returns unchanged package.version, build sha, and build number', async () => {