test: titles in project previews (#45051)

* fix: trim titles before injecting into iframes

Surrounding whitespace isn't useful

* test: check preview iframe has correct title
This commit is contained in:
Oliver Eyton-Williams
2022-02-10 18:57:50 +01:00
committed by GitHub
parent 44e2bce920
commit 5f06b7805c
3 changed files with 83 additions and 30 deletions

View File

@ -26,8 +26,6 @@ module.exports = (on, config) => {
}
});
// Allows us to test the new curriculum before it's released:
config.env.SHOW_UPCOMING_CHANGES = process.env.SHOW_UPCOMING_CHANGES;
config.env.API_LOCATION = process.env.API_LOCATION;
return config;
};