diff options
| author | GeoSot <[email protected]> | 2021-05-12 12:15:59 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-12 12:15:59 +0300 |
| commit | 9a9e22475c9c9d6a4a621daeba5bbfbe8dd280a7 (patch) | |
| tree | 701c0e6af67087725344549d1f3a84cf36a746e2 /js/tests | |
| parent | 15d01053935300a605939f95fd59dac50ab97974 (diff) | |
| download | bootstrap-9a9e22475c9c9d6a4a621daeba5bbfbe8dd280a7.tar.xz bootstrap-9a9e22475c9c9d6a4a621daeba5bbfbe8dd280a7.zip | |
Popover/Tooltip: streamline config property to start with underscore (#33381)
Diffstat (limited to 'js/tests')
| -rw-r--r-- | js/tests/unit/tooltip.spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/tooltip.spec.js b/js/tests/unit/tooltip.spec.js index 0dec2cee4..80fb6a8a1 100644 --- a/js/tests/unit/tooltip.spec.js +++ b/js/tests/unit/tooltip.spec.js @@ -80,7 +80,7 @@ describe('Tooltip', () => { const tooltipEl = fixtureEl.querySelector('a') const tooltip = new Tooltip(tooltipEl) - expect(tooltip.config.sanitize).toEqual(true) + expect(tooltip._config.sanitize).toEqual(true) }) it('should convert title and content to string if numbers', () => { @@ -92,8 +92,8 @@ describe('Tooltip', () => { content: 7 }) - expect(tooltip.config.title).toEqual('1') - expect(tooltip.config.content).toEqual('7') + expect(tooltip._config.title).toEqual('1') + expect(tooltip._config.content).toEqual('7') }) it('should enable selector delegation', done => { |
