mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
e9968e3649
* Added new test to telemetry tables to check that telemetry data is correctly rendered in rows * Added test tools for mocking builtins * Changed order that promises are resolved to address race condition * Remove duplicate installation of UTC Time System * Added additional test telemetry * Start Open MCT headless * Added headless mode start option. Fixes #3064 * Added new non-angular URL handler * Removed legacy Angular TimeSettingsURLHandler * Added function to testTools to reset application state * Use resetApplicationState function from telemetry table spec * Added new TimeSettingsURLHandler to plugins * Added missing semicolons * #2826 Refactored code into separate class * Handling of hash-relative URLs * Refactoring URL sync code * Refactored to external class * Moved utils to new 'utils' directory. Refactored location util functions from class to exported functions * Added test specs for openmctLocation * Added new function to destroy instances of Open MCT between test runs * Ensure test specs are cleaning up after themselves * Added test spec for new URLTimeSettingsSynchronizer * Removed use of shell script as it doesn't work in windows * Pushed test coverage to 100% * Added missing copyright statement * Removed debugging output * Fixed linting error * Upgrade node version * Clear cache * Re-enabled tests Co-authored-by: Melanie Lean <melanielean@Melanies-MacBook-Pro.local> Co-authored-by: Shefali Joshi <simplyrender@gmail.com> Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
37 lines
924 B
YAML
37 lines
924 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/node:13-browsers
|
|
environment:
|
|
CHROME_BIN: "/usr/bin/google-chrome"
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Update npm
|
|
command: 'sudo npm install -g npm@latest'
|
|
- restore_cache:
|
|
key: dependency-cache-13-{{ checksum "package.json" }}
|
|
- run:
|
|
name: Installing dependencies (npm install)
|
|
command: npm install
|
|
- save_cache:
|
|
key: dependency-cache-13-{{ checksum "package.json" }}
|
|
paths:
|
|
- node_modules
|
|
- run:
|
|
name: npm run test:coverage
|
|
command: npm run test:coverage
|
|
- run:
|
|
name: npm run lint
|
|
command: npm run lint
|
|
- store_artifacts:
|
|
path: dist
|
|
prefix: dist
|
|
|
|
workflows:
|
|
version: 2
|
|
test:
|
|
jobs:
|
|
- build
|