You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2021/03/06 05:23:28 UTC
[superset] branch master updated: chore: Moves ChartIcon to own
folder (#13454)
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new d0714a0 chore: Moves ChartIcon to own folder (#13454)
d0714a0 is described below
commit d0714a097294f5ab1405b7958994eab1b6af7dec
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Sat Mar 6 02:23:03 2021 -0300
chore: Moves ChartIcon to own folder (#13454)
---
.../spec/javascripts/datasource/ChangeDatasourceModal_spec.jsx | 2 +-
superset-frontend/src/components/{ChartIcon.tsx => ChartIcon/index.tsx} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/spec/javascripts/datasource/ChangeDatasourceModal_spec.jsx b/superset-frontend/spec/javascripts/datasource/ChangeDatasourceModal_spec.jsx
index bdef06a..9b7eefc 100644
--- a/superset-frontend/spec/javascripts/datasource/ChangeDatasourceModal_spec.jsx
+++ b/superset-frontend/spec/javascripts/datasource/ChangeDatasourceModal_spec.jsx
@@ -84,7 +84,7 @@ describe('ChangeDatasourceModal', () => {
});
it('fetches datasources', async () => {
- expect(fetchMock.calls(/api\/v1\/dataset/)).toHaveLength(3);
+ expect(fetchMock.calls(/api\/v1\/dataset\/\\?q*/)).toHaveLength(3);
});
it('renders confirmation message', async () => {
diff --git a/superset-frontend/src/components/ChartIcon.tsx b/superset-frontend/src/components/ChartIcon/index.tsx
similarity index 100%
rename from superset-frontend/src/components/ChartIcon.tsx
rename to superset-frontend/src/components/ChartIcon/index.tsx