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

Function getBuild

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

Source from the content-addressed store, hash-verified

1import './helpers';
2
3function getBuild() {
4 try {
5 return cy.fixture('adapt/js/build.min.js').then(build => {
6 // Return for cy.getBuild().then(build => {});
7 // Expose this.build in cypress
8 return cy.wrap(build).as('build');
9 });
10 } catch {
11 cy.task('log', 'fail');
12 }
13}
14
15function getConfig() {
16 return getBuild().then(build => {

Callers 2

getConfigFunction · 0.85
getDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected