Skip to content

Commit 64e45c7

Browse files
committed
Clean up testing code
1 parent e60e441 commit 64e45c7

File tree

2 files changed

+1
-43
lines changed

2 files changed

+1
-43
lines changed

packages/extension-chakra-store-locator/src/setup-server.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ import extensionMeta from '../extension-meta.json'
1818
class StoreLocatorExtension extends ApplicationExtension<Config> {
1919
static readonly id = extensionMeta.id
2020
extendApp(app: Application): Application {
21-
// TODO: Code added for testing proposes remove before merging
22-
app.get('/sample', (req, res) => {
23-
console.log('StarterExtension extendApp GET /sample')
24-
res.send(`<p>Hello starter extension!</p>`)
25-
})
26-
2721
return app
2822
}
2923
}

packages/template-typescript-minimal/package.json

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@emotion/react": "^11.13.3",
2323
"@emotion/styled": "^11.13.0",
2424
"@loadable/component": "^5.15.3",
25-
"@salesforce/extension-chakra-store-locator": "^0.1.0-extensibility-preview.3",
2625
"@salesforce/pwa-kit-dev": "4.0.0-extensibility-preview.3",
2726
"@salesforce/pwa-kit-extension-sdk": "4.0.0-extensibility-preview.3",
2827
"@salesforce/pwa-kit-react-sdk": "4.0.0-extensibility-preview.3",
@@ -48,42 +47,7 @@
4847
},
4948
"mobify": {
5049
"app": {
51-
"extensions": [
52-
[
53-
"@salesforce/extension-chakra-store-locator",
54-
{
55-
"enabled": true,
56-
"path": "/store-locator",
57-
"radius": 100,
58-
"radiusUnit": "km",
59-
"defaultPageSize": 10,
60-
"defaultPostalCode": "10178",
61-
"defaultCountry": "Germany",
62-
"defaultCountryCode": "DE",
63-
"supportedCountries": [
64-
{
65-
"countryCode": "US",
66-
"countryName": "United States"
67-
},
68-
{
69-
"countryCode": "DE",
70-
"countryName": "Germany"
71-
}
72-
],
73-
"commerceApi": {
74-
"proxyPath": "/mobify/proxy/api",
75-
"parameters": {
76-
"shortCode": "8o7m175y",
77-
"clientId": "c9c45bfd-0ed3-4aa2-9971-40f88962b836",
78-
"organizationId": "f_ecom_zzrf_001",
79-
"siteId": "RefArchGlobal",
80-
"locale": "en-GB",
81-
"currency": "USD"
82-
}
83-
}
84-
}
85-
]
86-
]
50+
"extensions": []
8751
},
8852
"ssrEnabled": true,
8953
"ssrOnly": [

0 commit comments

Comments
 (0)