empower-container 0.1.31 → 0.1.33

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":1,"numPassedTests":70,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":70,"startTime":1669900497705,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":70,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1669900499772,"runtime":1762,"slow":false,"start":1669900498010},"skipped":false,"testFilePath":"/home/gino/Documents/web/empower-container/src/__tests__/Menubar.test.tsx","testResults":[{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of true"],"duration":58,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of sampleMenubar"],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of 1"],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of -1"],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of 0"],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of 3.14"],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of -3.14"],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of null"],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of undefined"],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'title'","WHEN: Pass a title of standard,close"],"duration":28,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'title' WHEN: Pass a title of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of true"],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of sampleMenubar"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of 1"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of -1"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of 0"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of 3.14"],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of -3.14"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of null"],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of undefined"],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard'","WHEN: Pass a iconType of standard,close"],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType standard' WHEN: Pass a iconType of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of true"],"duration":19,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of sampleMenubar"],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of 1"],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of -1"],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of 0"],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of 3.14"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of -3.14"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of null"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of undefined"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close'","WHEN: Pass a icon close of standard,close"],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'iconType close' WHEN: Pass a icon close of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of true"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of sampleMenubar"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of 1"],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of -1"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of 0"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of 3.14"],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of -3.14"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of null"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of undefined"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo'","WHEN: Pass a showInfo of standard,close"],"duration":5,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'showInfo' WHEN: Pass a showInfo of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of true"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of sampleMenubar"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of 1"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of -1"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of 0"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of 3.14"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of -3.14"],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of null"],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of undefined"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle'","WHEN: Pass a addedTitle of standard,close"],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'addedTitle' WHEN: Pass a addedTitle of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of true"],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of sampleMenubar"],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of 1"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of -1"],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of 0"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of 3.14"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of -3.14"],"duration":20,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of null"],"duration":17,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of undefined"],"duration":23,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of standard,close"],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of true"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of true THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of sampleMenubar"],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of sampleMenubar THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of 1"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of 1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of -1"],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of -1 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of 0"],"duration":5,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of 0 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of 3.14"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of 3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of -3.14"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of -3.14 THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of null"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of null THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of undefined"],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of undefined THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"},{"ancestorTitles":["Feature: Display MenuBar Component","Given: Pass a boolean, string, number, null, undefined or array params on 'button show'","WHEN: Pass a button show of standard,close"],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Feature: Display MenuBar Component Given: Pass a boolean, string, number, null, undefined or array params on 'button show' WHEN: Pass a button show of standard,close THEN: it should renders correctly","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"status":"passed","title":"THEN: it should renders correctly"}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"ci":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/gino/Documents/web/empower-container/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":7,"noStackTrace":false,"nonFlagArgs":["Menubar.test.tsx"],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/gino/Documents/web/empower-container/node_modules/jest-html-reporters/index.js",{"publicPath":"./html-report","filename":"unit-testing.html","openReport":true}]],"rootDir":"/home/gino/Documents/web/empower-container","runTestsByPath":false,"seed":1790677787,"skipFilter":false,"snapshotFormat":{"escapeString":false,"printBasicPrototype":false},"testFailureExitCode":1,"testPathPattern":"Menubar.test.tsx","testSequencer":"/home/gino/Documents/web/empower-container/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"verbose":true,"watch":false,"watchAll":false,"watchman":true},"endTime":1669900499783,"_reporterOptions":{"publicPath":"./html-report","filename":"unit-testing.html","expand":false,"pageTitle":"","hideIcon":false,"testCommand":"npx jest","openReport":true,"failureMessageOnly":0,"enableMergeData":false,"dataMergeLevel":1,"inlineSource":false,"urlForTestFiles":""},"attachInfos":{}})
@@ -0,0 +1 @@
1
+ <!doctype html><html><head><meta charset="utf-8"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta name="keywords" contect="jest, reporters"><meta name="author" contect="hazyzh"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1,maximum-scale=1"><link rel="shortcut icon" href="data:image/png;base64,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"></head><title>Report</title><body><div id="app"></div><script src="./jest-html-reporters-attach/unit-testing/index.js"></script></body></html>
package/jest.config.ts CHANGED
@@ -1,32 +1,32 @@
1
1
 
2
- // import type { Config } from '@jest/types'
2
+ import type { Config } from '@jest/types'
3
3
 
4
4
 
5
- // const config: Config.InitialOptions = {
6
- // roots: [
7
- // "src/__tests__"
8
- // ],
9
- // transform: {
10
- // "^.+\\.(ts|tsx|js)$": "babel-jest",
11
- // "^.+\\.scss$": 'jest-scss-transform',
12
- // },
13
- // setupFilesAfterEnv: [
14
- // "@testing-library/react",
15
- // "@testing-library/jest-dom",
16
- // "@testing-library/jest-dom/extend-expect"
17
- // ],
18
- // moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
19
- // verbose: true,
20
- // testEnvironment: "jsdom",
21
- // reporters:[
22
- // "default",
23
- // ["jest-html-reporters", {
24
- // "publicPath": "./html-report",
25
- // "filename": "unit-testing.html",
26
- // "openReport": true
27
- // }]
28
- // ]
29
- // }
5
+ const config: Config.InitialOptions = {
6
+ roots: [
7
+ "src/__tests__"
8
+ ],
9
+ transform: {
10
+ "^.+\\.(ts|tsx|js)$": "babel-jest",
11
+ "^.+\\.scss$": 'jest-scss-transform',
12
+ },
13
+ setupFilesAfterEnv: [
14
+ "@testing-library/react",
15
+ "@testing-library/jest-dom",
16
+ "@testing-library/jest-dom/extend-expect"
17
+ ],
18
+ moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
19
+ verbose: true,
20
+ testEnvironment: "jsdom",
21
+ reporters:[
22
+ "default",
23
+ ["jest-html-reporters", {
24
+ "publicPath": "./html-report",
25
+ "filename": "unit-testing.html",
26
+ "openReport": true
27
+ }]
28
+ ]
29
+ }
30
30
 
31
- // export default config
31
+ export default config
32
32
 
package/package.json CHANGED
@@ -1,16 +1,14 @@
1
1
  {
2
2
  "name": "empower-container",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "private": false,
5
5
  "homepage": "https://bitbucket.org/empowerteams/empower-container",
6
6
  "main": "./dist/cjs/ndex.js",
7
7
  "module": "./dist/esm/index.js",
8
8
  "types": "./dist/esm/index.d.ts",
9
9
  "dependencies": {
10
- "@testing-library/jest-dom": "^5.16.2",
11
10
  "@testing-library/react": "^12.1.4",
12
11
  "@testing-library/user-event": "^13.5.0",
13
- "@types/jest": "^27.4.1",
14
12
  "@types/node": "^16.11.26",
15
13
  "@types/react": "^17.0.43",
16
14
  "@types/react-dom": "^17.0.13",
@@ -32,7 +30,7 @@
32
30
  "scripts": {
33
31
  "start": "react-scripts start",
34
32
  "build": "react-scripts build",
35
- "test": "jest --coverage",
33
+ "test": "jest",
36
34
  "test:watch": "jest --watch --coverage",
37
35
  "eject": "react-scripts eject",
38
36
  "dist": "npm run build:esm && npm run build:cjs && npm run copy-files",
@@ -44,7 +42,8 @@
44
42
  "eslintConfig": {
45
43
  "extends": [
46
44
  "react-app",
47
- "react-app/jest"
45
+ "react-app/jest",
46
+ "plugin:react-hooks/recommended"
48
47
  ]
49
48
  },
50
49
  "browserslist": {
@@ -59,9 +58,29 @@
59
58
  "last 1 safari version"
60
59
  ]
61
60
  },
61
+ "babel": {
62
+ "presets": [
63
+ "@babel/preset-react",
64
+ "@babel/env",
65
+ "@babel/preset-typescript"
66
+ ],
67
+ "plugins": [
68
+ "@babel/proposal-class-properties",
69
+ "@babel/plugin-transform-runtime"
70
+ ]
71
+ },
62
72
  "devDependencies": {
63
73
  "@babel/cli": "^7.17.10",
64
74
  "@babel/preset-react": "^7.17.12",
65
- "@types/react-date-range": "^1.4.3"
75
+ "@types/react-date-range": "^1.4.3",
76
+ "@jest/types": "^29.0.3",
77
+ "@testing-library/jest-dom": "^5.16.5",
78
+ "babel-jest": "^24.9.0",
79
+ "eslint-plugin-react-hooks": "^4.4.0",
80
+ "jest": "^29.0.3",
81
+ "jest-environment-jsdom": "^29.0.3",
82
+ "jest-html-reporters": "^3.0.11",
83
+ "jest-scss-transform": "^1.0.3",
84
+ "ts-node": "^10.9.1"
66
85
  }
67
86
  }