This commit is contained in:
@@ -85,6 +85,12 @@ describe('theme defaults', () => {
|
||||
expect(controlsSource).toContain("overlay.setAttribute('aria-label', '图片全屏预览')")
|
||||
expect(controlsSource).toContain("type ScalableKind = 'table' | 'code'")
|
||||
expect(controlsSource).toContain('easySlidesImagePreview')
|
||||
expect(controlsSource).toContain('const IMAGE_MIN_SCALE = 0.1')
|
||||
expect(controlsSource).toContain('const IMAGE_MAX_SCALE = 4')
|
||||
expect(controlsSource).toContain("type: 'close'")
|
||||
expect(controlsSource).toContain('easy-slides:image-preview:')
|
||||
expect(layoutCss).toContain('.easy-image-scale-toolbar')
|
||||
expect(layoutCss).toContain('.easy-image-lightbox-pannable')
|
||||
expect(controlsSource).toContain('sharedState')
|
||||
expect(controlsSource).toContain('}, 500)')
|
||||
expect(scrollFallbackSource).toContain('easy-slide-scroll-fallback')
|
||||
|
||||
Reference in New Issue
Block a user