diff options
| author | Priyansh <[email protected]> | 2021-11-28 14:27:57 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-28 14:27:57 -0500 |
| commit | d53094ec16ba385faae2973ddee648698b32ab24 (patch) | |
| tree | 9fe907f4f5a4ed57fff915526f36eca9dd05f07e /js/tests/unit/dom/data.spec.js | |
| parent | 52cd86f8710f8049a744b5bcb9f4a7ce19114b6e (diff) | |
| parent | 5290080d4df3047d04c8a232bca5dc7f8eaa4bc6 (diff) | |
| download | bootstrap-d53094ec16ba385faae2973ddee648698b32ab24.tar.xz bootstrap-d53094ec16ba385faae2973ddee648698b32ab24.zip | |
Merge branch 'twbs:main' into main
Diffstat (limited to 'js/tests/unit/dom/data.spec.js')
| -rw-r--r-- | js/tests/unit/dom/data.spec.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/tests/unit/dom/data.spec.js b/js/tests/unit/dom/data.spec.js index a00d3b734..2560caff7 100644 --- a/js/tests/unit/dom/data.spec.js +++ b/js/tests/unit/dom/data.spec.js @@ -1,6 +1,4 @@ import Data from '../../../src/dom/data' - -/** Test helpers */ import { getFixture, clearFixture } from '../../helpers/fixture' describe('Data', () => { @@ -90,8 +88,8 @@ describe('Data', () => { expect(Data.get(div, TEST_KEY)).toBeNull() }) + /* eslint-disable no-console */ it('should console.error a message if called with multiple keys', () => { - /* eslint-disable no-console */ console.error = jasmine.createSpy('console.error') const data = { ...TEST_DATA } @@ -103,4 +101,5 @@ describe('Data', () => { expect(console.error).toHaveBeenCalled() expect(Data.get(div, UNKNOWN_KEY)).toBe(null) }) + /* eslint-enable no-console */ }) |
