diff --git a/.husky/pre-commit b/.husky/pre-commit
index e6ca580db..48eac44c1 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -2,33 +2,6 @@
. "$(dirname -- "$0")/_/husky.sh"
-npm run check-format ||
-(
- echo '
-
- ๐คข๐คฎ๐คข๐คฎ ##################### PRETTIER ################## ๐คข๐คฎ๐คข๐คฎ
- โโโโโโโ Prettier Check Failed. โโโโโโโ
- ๐คข๐คฎ๐คข๐คฎ ##################### PRETTIER ################## ๐คข๐คฎ๐คข๐คฎ
- ';
- false;
-)
-
-echo ' '
-echo 'โโโLoading.......๐
๐
๐
'
-echo 'โโโLoading.......๐
๐
๐
'
-echo 'โโโLoading.......๐
๐
๐
'
-echo ' '
-
-npm run check-lint ||
-(
- echo '
-
- ๐ค๐๐๐ค ############### ESLINT ################# ๐ค๐๐๐ค
- โโโโโโโ ESLint Check Failed. โโโโโโโ
- ๐ค๐๐๐ค ############### ESLINT ################# ๐ค๐๐๐ค
- '
- false;
-)
echo ' '
diff --git a/.husky/pre-push b/.husky/pre-push
index 6f53db57c..ebb6638ac 100755
--- a/.husky/pre-push
+++ b/.husky/pre-push
@@ -3,6 +3,41 @@
+npm run check-format ||
+(
+ echo '
+
+ ๐คข๐คฎ๐คข๐คฎ ##################### PRETTIER ################## ๐คข๐คฎ๐คข๐คฎ
+ โโโโโโโ Prettier Check Failed. โโโโโโโ
+ ๐คข๐คฎ๐คข๐คฎ ##################### PRETTIER ################## ๐คข๐คฎ๐คข๐คฎ
+ ';
+ false;
+)
+
+echo ' '
+echo 'โโโLoading.......๐
๐
๐
'
+echo 'โโโLoading.......๐
๐
๐
'
+echo 'โโโLoading.......๐
๐
๐
'
+echo ' '
+
+npm run check-lint ||
+(
+ echo '
+
+ ๐ค๐๐๐ค ############### ESLINT ################# ๐ค๐๐๐ค
+ โโโโโโโ ESLint Check Failed. โโโโโโโ
+ ๐ค๐๐๐ค ############### ESLINT ################# ๐ค๐๐๐ค
+ '
+ false;
+)
+
+
+echo ' '
+echo 'โโโLoading.......๐
๐
๐
'
+echo 'โโโLoading.......๐
๐
๐
'
+echo 'โโโLoading.......๐
๐
๐
'
+echo ' '
+
echo ' '
echo ' '
diff --git a/cypress/integration/marketing/homepage.spec.js b/cypress/integration/marketing/homepage.spec.js
deleted file mode 100644
index 4c30c82c1..000000000
--- a/cypress/integration/marketing/homepage.spec.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/* eslint-disable cypress/no-unnecessary-waiting */
-///
-
-describe('test for built in marketing pages in app', () => {
- const urls = [
- '/',
- '/mindshare/',
- '/ai/',
- '/why-zesty/',
- '/marketplace/installed/',
- '/marketplace/register/',
- ];
-
- urls.forEach((url) => {
- it(`should load URL: ${url} without encountering 404`, () => {
- cy.request({
- url: Cypress.config().baseUrl + url,
- failOnStatusCode: false,
- }).then((response) => {
- expect(response.status).to.not.equal(404);
- expect(response.body).not.to.contain('404 Not Found');
- cy.get('body').should('exist');
- });
- });
- });
-});
diff --git a/cypress/integration/marketing/marketing.spec.js b/cypress/integration/marketing/marketing.spec.js
new file mode 100644
index 000000000..e2d06a84f
--- /dev/null
+++ b/cypress/integration/marketing/marketing.spec.js
@@ -0,0 +1,33 @@
+/* eslint-disable cypress/no-unnecessary-waiting */
+///
+
+describe('test for routes in marketing pages', () => {
+ const urls = [
+ '/',
+ '/mindshare/',
+ '/ai/',
+ '/why-zesty/',
+ '/marketplace/installed/',
+ '/marketplace/register/',
+ '/contact/',
+ ];
+
+ const requests = urls.map((route) => {
+ return cy.request({
+ url: Cypress.config().baseUrl + route.uri,
+ failOnStatusCode: false,
+ });
+ });
+
+ it('should load all URLs without encountering 404', () => {
+ return Promise.all(requests).then((responses) => {
+ responses.forEach((response, index) => {
+ expect(response.status, `URL: ${urls[index].url}`).to.not.equal(404);
+ expect(response.body, `URL: ${urls[index].url}`).not.to.contain(
+ '404 Not Found',
+ );
+ });
+ cy.get('body').should('exist');
+ });
+ });
+});
diff --git a/next.config.js b/next.config.js
index c408d1d70..548eae68c 100644
--- a/next.config.js
+++ b/next.config.js
@@ -17,16 +17,4 @@ module.exports = {
],
},
swcMinify: true,
-
- webpack: (config, { dev, isServer }) => {
- if (!dev && !isServer) {
- Object.assign(config.resolve.alias, {
- 'react/jsx-runtime.js': 'preact/compat/jsx-runtime',
- react: 'preact/compat',
- 'react-dom/test-utils': 'preact/test-utils',
- 'react-dom': 'preact/compat',
- });
- }
- return config;
- },
};