mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
Fixing explore actions & slice controller interactions (#1292)
* Fixing explore actions & slice controller interactions * Addressing a comment
This commit is contained in:
committed by
GitHub
parent
382b8e85da
commit
3384e7598e
@@ -31,7 +31,13 @@ describe('EmbedCodeButton', () => {
|
||||
width: '2000',
|
||||
srcLink: 'http://localhost/endpoint_url',
|
||||
});
|
||||
const embedHTML = `<iframe src="http://localhost/endpoint_url" width="2000" height="1000" seamless frameBorder="0" scrolling="no"></iframe>`;
|
||||
const embedHTML = `
|
||||
<iframe
|
||||
src="nullendpoint_url"
|
||||
width="2000"
|
||||
height="1000"
|
||||
seamless frameBorder="0" scrolling="no">
|
||||
</iframe>`;
|
||||
expect(wrapper.instance().generateEmbedHTML()).to.equal(embedHTML);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user