MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / pullInLive

Function pullInLive

tests/testFileEditor.js:846–859  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

844}
845
846function pullInLive() {
847 describe('pull to live', function() {
848 it('should pull', function(callback) {
849 const execOptions = {
850 cwd: courseLiveDir,
851 env: process.env,
852 };
853 exec('git pull', execOptions, (err) => {
854 if (ERR(err, callback)) return;
855 callback(null);
856 });
857 });
858 });
859}
860
861function waitForJobSequence(locals, expectedResult) {
862 describe('The job sequence', function() {

Callers 1

doEditsFunction · 0.85

Calls 2

itFunction · 0.85
callbackFunction · 0.85

Tested by

no test coverage detected