mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Inline source maps in dev build (#18970)
* Inline source maps in dev build * Update readme * correct command * Use env var * Update location
This commit is contained in:
@@ -30,7 +30,7 @@ Unit tests from layers `common` and `browser` are run inside `chromium`, `webkit
|
||||
|
||||
## Coverage
|
||||
|
||||
The following command will create a `coverage` folder at the root of the workspace:
|
||||
The following command will create a `coverage` folder in the `.build` folder at the root of the workspace:
|
||||
|
||||
**OS X and Linux**
|
||||
|
||||
@@ -38,4 +38,8 @@ The following command will create a `coverage` folder at the root of the workspa
|
||||
|
||||
**Windows**
|
||||
|
||||
scripts\test --coverage
|
||||
.\scripts\test.bat --coverage
|
||||
|
||||
NOTE: When running locally the coverage will be generated for the .js files because by default the sourcemaps
|
||||
are inlined. To fix this set the environment variable `SQL_NO_INLINE_SOURCEMAP` to `1`, re-run the
|
||||
compile/watch task and then re-run the test script with coverage enabled.
|
||||
|
||||
Reference in New Issue
Block a user