Commit graph

653 commits

Author SHA1 Message Date
Alexey Antonov f27d31de68
Convert filter_manager/lib to TypeScript / Jest (#45785) (#46778)
* Convert filter_manager/lib to TypeScript / Jest

Fix: #44952

* Update map_query_string.ts

* remove extra ts-ignore

* formatting

* fix PR comments

* Fix PR comments

* fix PR comments

* fix PR comments

* fix merge conflicts

* revert logic

* Fix PR commnets

* add tests for compare_filters

* fix PR comments
2019-09-27 18:00:27 +03:00
Tim Roes 604a989f1f
Style guide cleanup (#46574) (#46763)
* Enable one-var rule

* Prevent built-in extension

* Group more rules into modern language features

* Fix typing error use eslint disable instead

* Improve wording slightly
2019-09-27 12:45:27 +02:00
Spencer 6aa679f02e
[7.x] Update dependency @types/ora to ^1.3.5 (#46649) (#46732) 2019-09-26 14:35:39 -07:00
Spencer fa8c4b6ac4
[7.x] Update dependency vinyl-fs to ^3.0.3 (#46652) (#46728) 2019-09-26 14:33:45 -07:00
Spencer 855afee983
[7.x] Update eslint related packages (#46656) (#46726) 2019-09-26 14:32:53 -07:00
Spencer c77704dd64
[7.x] Update jest related packages (#46391) (#46624)
* Update jest related packages (#46391)

* Update jest related packages

* use correct type

* adapt spy and describe.each types

* update yarn.lock

* update snapshot

* define types before passing to describe.each

# Conflicts:
#	yarn.lock

* update yarn.lock file
2019-09-25 15:16:26 -07:00
Josh Dover e9526f5927
[7.x] Apply all validation rules to empty strings (#46167) (#46598) 2019-09-25 15:24:36 -05:00
Brandon Kobel ab2d5672e9
Updating mixin-deep (#46412) (#46607)
* Updating mixin-deep

* update kbn/pm dist
2019-09-25 10:55:11 -07:00
Spencer c48fa7eea6
[7.x] Update dependency cpy to ^7.3.0 (#46197) (#46540)
* Update dependency cpy to ^7.3.0

* update kbn/pm distributable
2019-09-25 09:04:07 -07:00
Spencer 194943ae1f
[7.x] Update set-value (#46417) (#46425)
* Updating some usages of set-value

* Updating snapdragon which updates transitive set-value

* update kbn/pm dist
2019-09-24 08:07:14 -07:00
Spencer 7c0acf05a4
[7.x] [ftr/savedObjects] add simple saved object api client to… (#45940)
* [ftr/savedObjects] add simple saved object api client to ftr services

* fix typo

* use consistent spacing

* fix types and TS-ify the rest of kibanaServer service

* expose server urls with better API

* tweak status api response types

* fix http body param name

* second arg to axios post is the post data

* use standardized error handling behavior

* Revert "use standardized error handling behavior"

This reverts commit 7e9a7f8dc5.

* revert unnecessary changes
2019-09-17 14:45:56 -07:00
Wylie Conlon 341355fa4f
New visualization editor Lens (#36437) (#45942)
* [lens] Initial Commit (#35627)

* [visualization editor] Initial Commit

* [lens] Add more complete initial state

* [lens] Fix type issues

* [lens] Remove feature control

* [lens] Bring back feature control and add tests

* [lens] Update plugin structure and naming per comments

* replace any usage by safe casting

* [lens] Respond to review comments

* [lens] Remove unused EditorFrameState type

* [lens] Initial state for IndexPatternDatasource (#36052)

* [lens] Add first tests to indexpattern data source

* Respond to review comments

* Fix type definitions

* [lens] Editor frame initializes datasources and visualizations (#36060)

* [lens] Editor frame initializes datasources and visualizations

* Respond to review comments

* Fix build issues

* Fix state management issue

* [lens][draft] Lens/drag drop (#36268)

Add basic drag / drop component to Lens

* remove local package (#36456)

* [lens] Native renderer (#36165)

* Add nativerenderer component

* Use native renderer in app and editor frame

* [Lens] No explicit any (#36515)

* [Lens] Implement basic editor frame state handling (#36443)

* [lens] Load index patterns and render in data panel (#36463)

* [lens] Editor frame initializes datasources and visualizations

* Respond to review comments

* Fix build issues

* remove local package

* [lens] Load index patterns into data source

* Redo types for Index Pattern Datasource

* Fix one more type

* Respond to review comments

* [draft] Lens/line chart renderer (#36827)

Expression logic for the Lens xy chart.

* [lens] Index pattern data panel (initial) (#37015)

* [lens] Index pattern switcher

* Respond to review comments

* [Lens] Editor state 2 (#36513)

* [lens] Dimension panel that generates columns (#37117)

* [lens] Dimension panel that generates columns

* Update from review comments

* [lens] Generate esdocs queries from index pattern (#37361)

* [lens] Generate esdocs queries from index pattern

* Remove unused code

* Update yarn.lock from yarn kbn bootstrap

* [Lens] Add basic Lens xy chart suggestions (#37030)

Basic xy chart suggestions

* [Lens] Expression rendering (#37648)

* [Lens] Expression handling (#37876)

* [Lens] Lens/xy config panel (#37391)

Basic xy chart configuration panel

* [Lens] Xy expression building (#37967)

* [Lens] Initialize visualization with datasource api (#38142)

* [lens] Dimension panel lets users select operations and fields individually (#37573)

* [lens] Dimension panel lets users select operations and fields individually

* Split files and add tests

* Fix dimension labeling and add clear button

* Support more aggregations, aggregation nesting, rollups, and clearing

* Fix esaggs expression

* Increase top-level test coverage of dimension panel

* Update from review comments

* [Lens] Rename columns (#38278)

* [Lens] Lens/index pattern drag drop (#37711)

* Basic xy chart suggestions

* Re-apply XY config panel after force merge

* Initial integration of lens drag and drop

* Tweak naming, remove irellevant comment

* Tweaks per Wylie's feedback

* Add xy chart internationalization
Tweak types per Joe's feedback

* Update xy chart i18n implementation

* Fix i18n id

* Add drop tests to the lens index pattern

* improve tests

* [lens] Only allow aggregated dimensions (#38820)

* [lens] Only allow aggregated dimensions

* [lens] Index pattern suggest on drop

* Fully remove value

* Revert "[lens] Index pattern suggest on drop"

This reverts commit 604c6ed68c.

* Fix type errors

* [lens] Suggest on drop (#38848)

* [lens] Index pattern suggest on drop

* Add test for suggestion without date field

* fix merge

* [Lens] Parameter configurations and new dimension config flow (#38863)

* fix eslint failure

* [lens] Fix build by updating saved objects and i18n (#39391)

* [lens] Update location of saved objects code

* Update internatationalization

* Remove added file

* [lens] Fix arguments to esaggs using booleans (#39462)

* [lens] Datatable visualization plugin (#39390)

* [lens] Datatable visualization plugin

* Fix merge issues and add tests

* Update from review

* Fix file locations

* [lens] Use first suggestion when switching visualizations (#39377)

* [lens] Label each Y axis with its operation label (#39461)

* [lens] Label each Y axis with its operation label

* Remove comment

* Add link to chart issue

* [Lens] Suggestion preview rendering (#39576)

* [Lens] Popover configs (#39565)

* [Lens] Basic layouting (#39587)

* remove datasource public API in suggestions (#39772)

* [Lens] Basic save / load (#39257)

Add basic routing, save, and load to Lens

* [lens] Fix lint error

* [lens] Use node scripts/eslint.js --fix to fix errors

* [lens] Include link to lens from Visualize (#40542)

* [lens] Support stacking in xy visualization (#40546)

* [lens] Support stacking in xy visualization

* Use chart type switcher for stacked and horizontal xy charts

* Clean up remaining isStacked code

* Fix type error

* [Lens] Add xy split series support (#39726)

* Add split series to lens xy chart

* [lens] Lens Filter Ratio (#40196)

* WIP filter ratio

* Fix test issues

* Pass dependencies through plugin like new platform

* Pass props into filter ratio popover editor

* Provide mocks to filter_ratio popover test

* Add another test

* Clean up to prepare for review

* Clean up unnecessary changes

* Respond to review comments

* Fix tests

* [Lens] Terms order direction (#39884)

* fix types

* [Lens] Data panel styling and optimizations (#40787)

Style the data panel (mostly Joe Reuter's doing). Optimize a bunch of the Lens stack.

* [Lens] Optimize dimension panel flow (#41114)

* [Lens] re-introduce no-explicit-any (#41454)

* [Lens] No results marker (#41450)

* [lens] Support layers for visualizing results of multiple queries (#41290)

* [lens] WIP add support for layers

* [lens] WIP switch to nested tables

* Get basic layering to work

* Load multiple tables and render in one chart

* Fix priority ordering

* Reduce quantity of linting errors

* Ensure that new xy layer state has a split column

* Make the "add" y / split the trailing accessor

* Various fixes for datasource public API and implementation

* Unify datasource deletion and accessor removal

* Fix broken scss

* Fix xy visualization TypeScript errors?

* Build basic suggestions

* Restore save/load and fix typescript bugs

* simplify init routine

* fix save tests

* fix persistence tests

* fix state management tests

* Ensure the data table is aligned to the top

* Add layer support to Lens datatable

* Give xy chart a default layer initially

* Allow deletion of layers in xy charts

* xy: Make split accessor singular
Remove commented code blocks

* Change expression type for lens_merge_tables

* Fix XY chart rendering expression

* Fix type errors relating to `layerId` in table suggestions

* Pass around tables for suggestions with associated layerIds

* fix tests in workspace panel

* fix editor_frame tests

* Fix xy tests, skip inapplicable tests
that will be implemented in a separate PR

* add some tests for multiple datasources and layers

* Suggest that split series comes before X axis in XY chart

* Get datatable suggestion working

* Adjust how xy axis labels are computed

* Datasource suggestions should handle layers and have tests

* Fix linting in XY chart and remove commented code

* Update snapshots from earlier change

* Fix linting errors

* More cleanup

* Remove commented code

* Test the multi-column editor

* XY Visualization does not need to track datasourceId

* Fix various comments

* Remove unused xy prop
Add datasource header to datatable config

* Use operation labels for XY chart

* Adding and removing layers is reflected in the datasource

* rewrote datasource state init

* clean up editor_frame frame api implementation

* clean up editor frame

* [Lens] Embeddable (#41361)

* [lens] Move XY chart config into popover and fix layering (#41927)

* [lens] Move XY chart config into popover and fix layering

* Fix tests

* Update style

* Change wrapping of layer settings popover

* [Lens] Fix bugs in date_histogram and filter ratio (#42046)

* [Lens] Performance improvements (#41784)

* fix type error

* switch default size of terms operation to 3 (#42334)

* [lens] Improve suggestions for split series (#42052)

* [lens] Add chart switcher (#42093)

* solve merge conflicts

* fix test case

* [Lens] Allow only current visualization on field drop in workspace (#42344)

* [Lens] Remove indexpattern id on column (#42429)

* [lens] Implement app-level filtering and time picker (#42031)

* [lens] Implement app-level filtering and time picker

* More integration with filter bar

* Clean up test code and type errors

* Add frame level tests for syncing with app

* Add test coverage for app logic

* Simplify state management from app down

* Fix import errors

* Clarify whether properties are ids or titles for index pattern

* pass new saved object by ref

* add dirty state checking

* Fix tests

* [Lens] Add some tests around document handling in dimension panel (#42670)

* [Lens] Terms operation boolean support (#42817)

* [lens] Minor UX/UI improvements in Lens (#42852)

* Make dimension popover toggle when clicking button

* Without suggestions hide suggestion panel

* Add missing translations (#42921)

* [Lens] Config panel design (#42980)

* Fix up design of config panel

Does not include config popover

* Remove a couple of non-null assertions (#43013)

* Remove a couple of non-null assertions

* Remove orphaned import

* [Lens] Switch indexpattern manually (#42599)

* [Lens] Update frame to put suggestions at the bottom (#42997)

* fix type errors

* switch indexpattern on layer if there is only a single empty one (#43079)

* [Lens] Suggest reduced versions of current data table (#42537)

* [Lens] Field formatter support (#38874)

* Fix bugs

* [Lens] Add bucket nesting editor to indexpattern (#42869)

* [Lens] Remove unnecessary fields and indexing from mappings (#43285)

* [Lens] Xy scale type (#42142)

* [lens] Allow updater function to be used for updating state (#43373)

* [Lens] Lens metric visualization (#39364)

* Fix axis rotation (#43792)

* [Lens] Auto date histogram (#43775)

* Add auto date histogram

* Improve documentation and cleanup

* Add tests

* Change test name

* [Lens] Fix query bar integration (#43865)

* [Lens] Clean up operations code (#43784)

* [Lens] Functional tests (#44279)

Foundational layer for lens functional tests. Lens-specific page objects are not in this PR.

* [Lens] Add Lens visualizations to Visualize list (#43398)

* [Lens] Suggestion improvements (#43688)

* [lens] Calculate existence of fields in datasource (#44422)

* [lens] Calculate existence of fields in datasource

* Fix route registration

* Add page object and use existence in functional test

* Simplify layout of filters for index pattern

* Respond to review feedback

* Update class names

* Use new URL constant

* Fix usage of base path

* Fix lint errors

* [Lens ] Preview metric (#43755)

* format filter ratio as percentage (#44625)

* [Lens] Remove datasource suggestion id (#44495)

* [Lens] Make breadcrumbs look and feel like Visualize (#44258)

* [lens] Fix breakage from app-arch movements (#44720)

* [lens] Fix type error in test from merge

* [lens] Fix registration of embeddable (#45171)

* [Lens] Functional tests (#44814)

Basic functional tests for Lens, by no means comprehensive. This is more of a smokescreen test of some normal use cases.

* [lens] Add Lens to CODEOWNERS (#45296)

* [lens] Fix visualization alias registration

* [lens] Fix usage of EUI after typescript upgrade (#45404)

* [lens] Fix usage of EUI after typescript upgrade

* Use local fix instead of workaround

* [lens] Fix usage of expressions plugin (#45544)

* [lens] Fix usage of expressions plugin

* Use updated exports from #45538

* Fix imports and mocha tests

* Use relative instead of absolute path to fix tests

* [lens] More cleanup from QueryBar changes in master (#45687)

* [lens] Fix build and use new platform from entry points (#45834)

* [lens] Fix build and use new platform from entry points

* Fix params for existence route
2019-09-17 16:59:06 -04:00
spalger f85c7402f6 [kbn-es] make custom snapshot url a feature (#45750)
* [kbn-es] make custom snapshot url a feature

* download es snapshot first

(cherry picked from commit 510566d66b)
2019-09-15 08:12:47 -07:00
Dmitry Lemeshko dc63cbe85c
Change data-test-subj selector logic to support value with spaces (#43682) (#45505)
* update test-subj-selector

* update locators

* adjust whitespaces removal

* fix another locator

* fix ML test locators
2019-09-12 18:11:39 +02:00
Tre 5d33d2548a
[Plugin Generator] Enhance Integration Test (#45401) (#45460)
* Add the missing blank line.
Add a test verify it.

* Less code is the best code.  Thanks Spencer :)
2019-09-12 07:06:45 -06:00
Brian Seeders 17670959dc Jenkins pipeline with parallel cigroups (#45285)
* Pipeline

* WIP some work for parallelization with ciGroups

* Fix xpack kibana install dir, and add some debugging

* Attempt to quick fix a few tests

* Revert "Revert "Revert "[ci] compress jobs for CI stability" (#44584)""

This reverts commit 078ac2897f.

* Recombine test groups, and try runbld again

* Mostly cleanup, and fix failed_tests reporting to hopefully work for both pipeline and non-pipeline

* Fix typo in shell script

* Remove some debug code

* Add support for changing es transport.port during testing via TEST_ES_TRANSPORT_PORT

* Fix test that uses hard-coded es transport port and add it back in to parallel groups

* Disable checks reporter again for now

* Set env var for TEST_ES_TRANSPORT_PORT in pipeline

* Update Jenkinsfile for shorter testrunner labels

* Fix another hard-coded transport port

* Fix a new test with hard-coded URLs

* Jenkinsfile cleanup and fix one of the groups

* Fix double slash

* Testing vault credentials on jenkins server

* Add a non-existent credential

* Revert "Add a non-existent credential"

This reverts commit 0dc234c465a5483b1a994cb510a182fef766e9cc.

* Try github-checks-reporter again

* github-checks-reporter should only run for elastic/kibana, forks won't work

* Clean up some debug code

* Changing names around to try to make BlueOcean UI a little better

* Add more stages

* Make some changes to stage structure to mirror a nested example from CloudBees

* Handle TODOs, and some cleanup in Jenkinsfile

* Pass GIT_BRANCH when started without GHPRB, fix branch check

* Fix mailer problem and add code that ensures all tests are in cigroups back in

* Test adding worker/job name to junit report paths

* Remove some duplication from ci_setup scripts

* Fix unit test that uses junit path

* Don't reinstall node every time setup_env is run

* Fix yarn install logic

* Fix another unit test that uses junit output dir

* Download latest ES snapshot after kibana builds

* Make sure junit reports are always processed

* Add two failing tests for testing purposes

* Add support to Jenkinsfile for kibana build e-mails

* Remove some debug code for email sending

* Change JOB env handling in junit paths and move it to a sub-directory

* Revert "Add two failing tests for testing purposes"

This reverts commit 5715203e26922a93483feb0ebb8bb3fdcc3daf8c.

* Fix junit report path in test

* Don't send kibana emails on build abort

* Address PR feedback, formatting and use built-in url formatting library

* Fix path formatting for functional test

* Add email sending back in to Jenkinsfile

* Fix another unit test with path problem

(cherry picked from commit 27d23c4184)

# Conflicts:
#	src/dev/ci_setup/setup.sh
#	src/dev/failed_tests/cli.js
2019-09-11 12:23:33 -07:00
Tre 86a1f7b0b5
[7.x] [Plugin Generator] Add integration test (#43219) (#45044)
* [Plugin Generator] Add integration test (#43219)

Addresses https://github.com/elastic/kibana/issues/17061

### Features Covered 
 - generating a plugin

#### Then from within the generated plugin's directory
 - running `yarn build`
 - running `yarn test:browser`
 - running `yarn test:server`
 - running `yarn start`
 - running `yarn preinstall`
 - running `yarn lint`
 - running `yarn kbn --help`
 - running `yarn es --help`

* Fixup parse error for intl file
2019-09-11 07:33:22 -06:00
Spencer 65631a26b9
[7.x] Update dependency highlight.js to v9.15.10 (#45156) (#45197) 2019-09-10 13:33:23 -07:00
Spencer a8633fdf32
[7.x] Update dependency lru-cache to ^4.1.5 (#45157) (#45198) 2019-09-10 08:26:23 -07:00
Spencer 80039708ef
[7.x] Update dependency debug to ^2.6.9 (#45155) (#45195) 2019-09-10 08:25:58 -07:00
Peter Pisljar 7aac4778d0
[7.x] expression service (#42337) (#44765) 2019-09-09 16:41:33 +02:00
Spencer 124f91c48b
[ftr] support --kibana-install-dir flag (#44552) (#44935)
* [ftr] support --kibana-install-dir flag

* improve spacing/style of success message

* Remove unused var
2019-09-06 10:50:00 -07:00
Spencer 24208ace6c
Update dependency del to ^4.1.1 (#44806) (#44825)
# Conflicts:
#	packages/kbn-plugin-helpers/package.json
2019-09-05 11:14:29 -07:00
Spencer 62bbd9ff26
Update sinon related packages (#43952) (#44725)
* Update sinon related packages

* fix stub types to be compatible

# Conflicts:
#	x-pack/package.json
2019-09-03 18:27:38 -07:00
Spencer 6dbcc8f050
[7.x] Update dependency cmd-shim to ^2.1.0 (#44034) (#44538)
* Update dependency cmd-shim to ^2.1.0

* rebuild kbn/pm

(cherry picked from commit 06852ed576)
2019-08-30 15:16:06 -07:00
Spencer b59cb2d881
manually setup module transforms so to support async imports in webpack (#44413) (#44429) 2019-08-29 20:44:02 -07:00
Tyler Smalley e2408465ce
[@kbn/analytics] Updates dependencies and browser entry (#44316) (#44405)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 15:59:23 -07:00
Tyler Smalley 71f89a5275 Updates kbn/pm dist
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 10:17:58 -07:00
spalger 400cf9fb22 update kbn/pm dist 2019-08-29 08:49:40 -07:00
Spencer fe25ee98c3
[7.x] Update dependency chalk to ^2.4.2 (#44032) (#44210)
* Update dependency chalk to ^2.4.2

* update kbn-pm dist

(cherry picked from commit dfddf3dbdd)
2019-08-29 08:48:12 -07:00
Chris Davies e61d514a57
Modify I18nProvider so that it does not generate new React components (#43556) (#44100)
This fixes some edge-cases that caused infinite loops: React thinks the tree has changed because of a new root component, effects fire off which change the state and cause a re-render, React thinks the tree has changed because of a new root component...
2019-08-28 09:51:14 -04:00
Spencer 8660e0b0ca
[7.x] Update dependency babel-eslint to ^10.0.3 (#44029) (#44159)
(cherry picked from commit 075c68baf3)
2019-08-27 21:53:56 -07:00
Spencer 424058b74f
[7.x] Update node-fetch related packages (#43948) (#44021)
(cherry picked from commit 63ad141b3c)
2019-08-27 21:51:51 -07:00
Spencer 49b82c2f7b
[7.x] Update dependency @types/wrap-ansi to ^2.0.15 (#43955) (#44020)
(cherry picked from commit aeb6e2c1e8)
2019-08-27 21:51:28 -07:00
Spencer 79be2e8141
[babel-preset/webpack] use corejs 3 (#44154) (#44203) 2019-08-27 19:46:42 -07:00
Spencer a0513b0cb9
[7.x] Update dependency write-pkg to v4 (#43226) (#43906)
* Update dependency write-pkg to v4

* rebuild kbn-pm and point worker_threads to built-in module
2019-08-27 14:41:36 -07:00
Tiago Costa fdc3458c54
chore(NA): fix babel plugin discover for thread-loader-warmup (#44106) (#44124)
* chore(NA): fix babel plugin discover for thread-loader-warmup

* chore(NA): apply changes accordingly the PR review
2019-08-27 19:31:54 +01:00
Dmitry Lemeshko 89d97368c7
fix logging 'undefined' on tests completion (#43983) (#44015) 2019-08-27 17:28:02 +02:00
spalger a82e20fbae update kbn-pm dist 2019-08-26 13:25:18 -07:00
Spencer 16e59a3d16
[7.x] Update eslint related packages (#43902) (#43921)
(cherry picked from commit b1d48d949e)
2019-08-26 12:02:22 -07:00
Spencer 376f60a2f7
[7.x] Update read-pkg related packages (major) (#43118) (#43947)
* [7.x] Update read-pkg related packages (major) (#43118)

* Update read-pkg related packages

* update kbn/pm dist

* fix call style

* only pass directories to readPackageJson

(cherry picked from commit 0fb213714c)

* update kbn-pm dist
2019-08-26 10:51:34 -07:00
Spencer bc7a2c1ead
[7.x] Update webpack related packages (#43903) (#43999)
* Update webpack related packages

* update kbn-pm dist

* update kbn/pm dist

(cherry picked from commit 76d8dbde72)
2019-08-26 09:51:31 -07:00
Spencer af5fa60964
[7.x] Update dependency @elastic/elasticsearch to ^7.3.0 (#43911) (#43945)
(cherry picked from commit bf7e066cc9)
2019-08-26 09:50:28 -07:00
Sébastien Loix 0e85f914c5
[Console] Update autocomplete api definition (#43651) (#43735) 2019-08-26 15:16:29 +02:00
Spencer 975aee9d98
Update dependency @babel/cli to v7.5.5 (#43836) (#43870) 2019-08-23 11:33:22 -07:00
Spencer 31e7eec1ce
[7.x] Update babel related packages (#43595) (#43837)
* Update babel related packages (#43595)

* upgrade all babel related modules, and bump lodash minors

* update kbn-pm dist

* update fetch-mock, necessary to use core-js 3

* use regenerator transform in jest tests, as required by EUI

* disable useBuiltIns rather than using regenerator plugin

* remove extra regenerator-runtime import

* Update package.json

* update yarn.lock
2019-08-23 08:24:52 -07:00
Spencer 4023cf1d6d
[mocha] fix test selectors to get everything in packages (#43797) (#43838)
* [mocha] fix test selectors to get everything in packages

* fix paths in tests

* ignore test files that make it into target directories

* [@kbn/test] don't build test files

* move tests from datemath and test-subj pkgs into __tests__ dirs

* [kbn/test-subj] remove test script

* update yarn.lock

# Conflicts:
#	src/dev/mocha/run_mocha_cli.js
2019-08-23 07:02:28 -07:00
Tyler Smalley 62e7f58bd1
Transpile @kbn/analytics with Babel (#43407) (#43815)
Since this is being imported by the UI as a package, we need to transpile for the
browsers we need to support.

Fixes #42782

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-22 15:13:21 -07:00
Josh Dover 7d6e2498f5
Add support for dynamic imports (#43716) (#43778) 2019-08-22 15:10:41 -05:00
Jean-Louis Leysens 8f6cf41f81
Backport spec_to_console script to work with new JSON file format. (#43427) (#43544)
* Backport spec_to_console script to work with new JSON file format.

* Updated test fixture to use new JSON file pattern

* Fix if statement
2019-08-19 13:27:10 -07:00