blob: 22b43bfddc25383ced8b0e90da13fe8f4c36fe4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
const { fork } = require('child_process');
const { join } = require('path');
const DEMO_URL = 'https://demo.index-education.net/pronote/';
const DEMO_USERNAME = 'demonstration';
const DEMO_PASSWORD = 'pronotevs';
function test(type)
{
fork(join(__dirname, 'fetch.js'), [DEMO_URL, DEMO_USERNAME, DEMO_PASSWORD, 'none', type], { stdio: 'inherit' });
}
['student', 'parent'].forEach(test);
|