Skip to content

Commit

Permalink
fix(nextjs export): fixed warnings from nextjs regarding query parame…
Browse files Browse the repository at this point in the history
  • Loading branch information
easen-amp committed Apr 20, 2020
1 parent e6fb525 commit 8d90b9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
8 changes: 0 additions & 8 deletions next.config.js
Expand Up @@ -119,17 +119,9 @@ const exportPathMap = async function() {
},
'/preview': {
page: '/preview',
query: {
content: '',
vse: ''
}
},
'/visualization.html': {
page: '/visualization',
query: {
vse: '',
content: ''
}
}
});
};
Expand Down
24 changes: 0 additions & 24 deletions tests/next/next.config.spec.ts
Expand Up @@ -91,17 +91,9 @@ describe('next.config.js', (): void => {
},
'/preview': {
page: '/preview',
query: {
content: '',
vse: '',
},
},
'/visualization.html': {
page: '/visualization',
query: {
vse: '',
content: '',
},
},
});
});
Expand Down Expand Up @@ -170,17 +162,9 @@ describe('next.config.js', (): void => {
},
'/preview': {
page: '/preview',
query: {
content: '',
vse: '',
},
},
'/visualization.html': {
page: '/visualization',
query: {
vse: '',
content: '',
},
},
});
});
Expand All @@ -207,17 +191,9 @@ describe('next.config.js', (): void => {
},
'/preview': {
page: '/preview',
query: {
content: '',
vse: '',
},
},
'/visualization.html': {
page: '/visualization',
query: {
vse: '',
content: '',
},
},
});
expect(global.console.warn).toHaveBeenCalled();
Expand Down

0 comments on commit 8d90b9d

Please sign in to comment.