Skip to content

Commit

Permalink
I updated a test case with the fixed initialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosabayomi committed Jan 16, 2024
1 parent d4233c2 commit 9c92898
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions __test__/custup.min.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe('CustUp initialization test', () => {
test('CustUp init object to be typeof Object', () => {
expect(typeof init1).toBe('object')
});
test('CustUp initializeUI should return false when called after CustUp has alread been initialized in a container', () => {
expect(init1.initializeUI()).toBe(false)
test('CustUp initializeUI should return the initialized instance when after CustUp has alread been initialized in a container', () => {
expect(typeof init1.initializeUI()).toBe(typeof init1)
});
test('CustUp should create a wrapper div element', () => {
expect(typeof init1._custupEl).toBe('object')
Expand Down
4 changes: 2 additions & 2 deletions __test__/custup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe('CustUp initialization test', () => {
test('CustUp init object to be typeof Object', () => {
expect(typeof init1).toBe('object')
});
test('CustUp initializeUI should return false when called after CustUp has alread been initialized in a container', () => {
expect(init1.initializeUI()).toBe(false)
test('CustUp initializeUI should return the initialized instance when called after CustUp has alread been initialized in a container', () => {
expect(typeof init1.initializeUI()).toBe(typeof init1)
});
test('CustUp should create a wrapper div element', () => {
expect(typeof init1._custupEl).toBe('object')
Expand Down

0 comments on commit 9c92898

Please sign in to comment.