mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(client/api): add C# survey (#51682)
This commit is contained in:
+16
-1
@@ -6,6 +6,18 @@ function seed(args = []) {
|
||||
return execSync('node tools/scripts/seed/seed-demo-user ' + args.join(' '));
|
||||
}
|
||||
|
||||
function seedExams() {
|
||||
return execSync('node tools/scripts/seed-exams/create-exams.js');
|
||||
}
|
||||
|
||||
function seedSurveys() {
|
||||
return execSync('node tools/scripts/seed/seed-surveys.js');
|
||||
}
|
||||
|
||||
function deleteSurveys() {
|
||||
return execSync('node tools/scripts/seed/seed-surveys.js delete-only');
|
||||
}
|
||||
|
||||
module.exports = defineConfig({
|
||||
e2e: {
|
||||
baseUrl: 'http://localhost:8000',
|
||||
@@ -35,7 +47,10 @@ module.exports = defineConfig({
|
||||
}
|
||||
});
|
||||
on('task', {
|
||||
seed
|
||||
seed,
|
||||
seedExams,
|
||||
seedSurveys,
|
||||
deleteSurveys
|
||||
});
|
||||
|
||||
config.env.API_LOCATION = 'http://localhost:3000';
|
||||
|
||||
Reference in New Issue
Block a user