MCPcopy Create free account
hub / github.com/adaptlearning/adapt_framework / getConfig

Function getConfig

test/e2e/commands.js:15–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15function getConfig() {
16 return getBuild().then(build => {
17 // Load the config.json
18 return cy.fixture(`${build.coursedir}/config.json`).then(config => {
19 // Return for cy.getConfig().then(config => {});
20 // Expose this.config in cypress
21 return cy.wrap(config).as('config');
22 });
23 });
24}
25
26function getData(languageCode = null) {
27 try {

Callers 1

getDataFunction · 0.85

Calls 1

getBuildFunction · 0.85

Tested by

no test coverage detected