[ARVADOS-WORKBENCH2] updated: 1.1.4-62-g9c9a7d6
Git user
git at public.curoverse.com
Fri Jun 15 10:27:11 EDT 2018
Summary of changes:
__mocks__/popper.js.js | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 __mocks__/popper.js.js
via 9c9a7d6f64f1c7c1aa82ed7e1497a56da37e63ab (commit)
from d4fda9299d54818dea306400813cfbee2627a5bc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9c9a7d6f64f1c7c1aa82ed7e1497a56da37e63ab
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Fri Jun 15 16:26:56 2018 +0200
Mock popper.js module
Feature #13628
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/__mocks__/popper.js.js b/__mocks__/popper.js.js
new file mode 100644
index 0000000..07c7856
--- /dev/null
+++ b/__mocks__/popper.js.js
@@ -0,0 +1,30 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+export default class Popper {
+ static placements = [
+ 'auto',
+ 'auto-end',
+ 'auto-start',
+ 'bottom',
+ 'bottom-end',
+ 'bottom-start',
+ 'left',
+ 'left-end',
+ 'left-start',
+ 'right',
+ 'right-end',
+ 'right-start',
+ 'top',
+ 'top-end',
+ 'top-start'
+ ];
+
+ constructor() {
+ return {
+ destroy: jest.fn(),
+ scheduleUpdate: jest.fn()
+ };
+ }
+}
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list