mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[dev/build/version info] convert to integration tests (#89511)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
67014a7970
commit
7465976c25
1 changed files with 4 additions and 3 deletions
|
@ -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 () => {
|
Loading…
Add table
Add a link
Reference in a new issue