mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-15 17:50:48 +02:00
fix: make nyc use sourcemaps for coverage
This commit is contained in:
parent
5ab81c2bcd
commit
23057a5af5
@ -45,7 +45,12 @@
|
||||
"all": true,
|
||||
"include": [
|
||||
"dist/**/*.js"
|
||||
]
|
||||
],
|
||||
"exclude": [
|
||||
"dist/bin",
|
||||
"dist/migrations"
|
||||
],
|
||||
"exclude-after-remap": false
|
||||
},
|
||||
"ava": {
|
||||
"files": [
|
||||
|
11
snapshots/src/lib/addons/slack.test.js.md
Normal file
11
snapshots/src/lib/addons/slack.test.js.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Snapshot report for `src/lib/addons/slack.test.js`
|
||||
|
||||
The actual snapshot is saved in `slack.test.js.snap`.
|
||||
|
||||
Generated by [AVA](https://avajs.dev).
|
||||
|
||||
## Should call slack webhook
|
||||
|
||||
> Snapshot 1
|
||||
|
||||
'{"username":"Unleash","icon_emoji":":unleash:","text":"some@user.com created feature toggle <http://some-url.com/#/features/strategies/some-toggle|some-toggle>\\n*Enabled*: no | *Type*: undefined | *Project*: undefined\\n*Activation strategies*: ```- name: default\\n```","channel":"#undefined","attachments":[{"actions":[{"name":"featureToggle","text":"Open in Unleash","type":"button","value":"featureToggle","style":"primary","url":"http://some-url.com/#/features/strategies/some-toggle"}]}]}'
|
BIN
snapshots/src/lib/addons/slack.test.js.snap
Normal file
BIN
snapshots/src/lib/addons/slack.test.js.snap
Normal file
Binary file not shown.
@ -56,6 +56,7 @@
|
||||
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
||||
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
||||
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
||||
"sourceMap": true,
|
||||
/* Experimental Options */
|
||||
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
||||
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
||||
|
Loading…
Reference in New Issue
Block a user