aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-01-11 17:46:38 +0100
committerStas Vilchik <stas.vilchik@sonarsource.com>2018-01-12 17:37:53 +0100
commit91dcb7b968fed3eec9d81d1f096ebb936e3b3592 (patch)
tree701b1ce17eab73405bbdd818f21e89b4da52adad /server/sonar-web/src/main/js/apps/background-tasks
parent572fd173640d6cccad67421e0a3ee80de70aeb84 (diff)
downloadsonarqube-91dcb7b968fed3eec9d81d1f096ebb936e3b3592.tar.gz
sonarqube-91dcb7b968fed3eec9d81d1f096ebb936e3b3592.zip
update jest & enzyme
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap4
3 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap
index 8aac352340c..dc47f7e97c5 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap
@@ -4,7 +4,7 @@ exports[`renders 1`] = `
<Modal
contentLabel="scanner context"
large={true}
- onRequestClose={[Function]}
+ onRequestClose={[MockFunction]}
>
<div
className="modal-head"
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap
index 5e3d7a5a25f..3c3c6519c93 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap
@@ -4,7 +4,7 @@ exports[`renders 1`] = `
<Modal
contentLabel="stacktrace"
large={true}
- onRequestClose={[Function]}
+ onRequestClose={[MockFunction]}
>
<div
className="modal-head"
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap
index 0fab9afcace..36c6d8c522f 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap
@@ -33,8 +33,8 @@ exports[`renders 1`] = `
/>
<TaskExecutionTime />
<TaskActions
- onCancelTask={[Function]}
- onFilterTask={[Function]}
+ onCancelTask={[MockFunction]}
+ onFilterTask={[MockFunction]}
task={
Object {
"componentName": "foo",