Skip to content

Commit

Permalink
feat(mwpw-155425): unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheridan Sunier authored and Sheridan Sunier committed Nov 11, 2024
1 parent 2c9b4e7 commit 1b5f57d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/app.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Chimera UI Libraries - Build 0.23.0 (11/11/2024, 10:07:58)
* Chimera UI Libraries - Build 0.23.0 (11/11/2024, 10:28:14)
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -48981,7 +48981,7 @@ function sanitizeEventFilter(rawEventFilter) {
*/
function eventTiming() {
var sessions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
var eventFilter = arguments[1];
var eventFilter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];

var sanitizedEventFilter = sanitizeEventFilter(eventFilter);
if (!sessions.length) return [];
Expand Down
4 changes: 2 additions & 2 deletions dist/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.source.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/src/js/components/Consonant/Helpers/eventSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function sanitizeEventFilter(rawEventFilter) {
* @returns {Object} nextTransitionMs, value for setTimeout.
* visibleSessions, sorted cards/sessions to be rendered.
*/
function eventTiming(sessions = [], eventFilter) {
function eventTiming(sessions = [], eventFilter = []) {
const sanitizedEventFilter = sanitizeEventFilter(eventFilter);
if (!sessions.length) return [];

Expand Down

0 comments on commit 1b5f57d

Please sign in to comment.