Skip to content

Commit

Permalink
hotfix to get tests passing after a change in the sitemap module
Browse files Browse the repository at this point in the history
  • Loading branch information
boutell committed Dec 18, 2024
1 parent e5d72d1 commit 05051f2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 4.11.1 (2024-12-18)

### Fixes

* Corrected a unit test that relies on the sitemap module, as it now makes explicit that the project level `baseUrl` must be set for a successful experience, and the module level `baseUrl` was set earlier. No other changes.

## 4.11.0 (2024-12-18)

### Adds
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apostrophe",
"version": "4.11.0",
"version": "4.11.1",
"description": "The Apostrophe Content Management System.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -149,4 +149,4 @@
"browserslist": [
"ie >= 10"
]
}
}
7 changes: 2 additions & 5 deletions test/esm-project/app.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
export default {
root: import.meta,
shortName: 'esm-project',
baseUrl: 'http://localhost:3000',
modules: {
'@apostrophecms/express': {
options: {
address: '127.0.0.1'
}
},
'@apostrophecms/sitemap': {
options: {
baseUrl: 'http://localhost:3000'
}
}
'@apostrophecms/sitemap': {}
}
};
7 changes: 2 additions & 5 deletions test/workspaces-project/app.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
module.exports = {
root: module,
shortName: 'workspaces-project',
baseUrl: 'http://localhost:3000',
modules: {
'@apostrophecms/express': {
options: {
address: '127.0.0.1'
}
},
'@apostrophecms/sitemap': {
options: {
baseUrl: 'http://localhost:3000'
}
}
'@apostrophecms/sitemap': {}
}
};

0 comments on commit 05051f2

Please sign in to comment.