JSTQL-JS-Transform/output_testing/163confirm-automated-testing.js

15 lines
439 B
JavaScript
Raw Normal View History

#!/usr/bin/env node
'use strict';
const clear = 'clear' |> require(%);
const {
confirm
} = '../utils' |> require(%);
const theme = '../theme' |> require(%);
const run = async () => {
clear();
'This script does not run any automated tests.' + 'You should run them manually before creating a "next" release.' |> theme.caution(%) |> console.log(%);
await ('Do you want to proceed?' |> confirm(%));
clear();
};
module.exports = run;