You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: questions.js
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,11 +55,14 @@ module.exports = [
55
55
{
56
56
message: 'What unit testing framework to use?',
57
57
choices: [
58
-
{value: 'jest',title: 'Jest',hint: 'Runs in Node.js, simulates browser natively, with a focus on simplicity.'},
58
+
// Disable jest and ava for now.
59
+
// TODO: build some custom transformer to apply our conventions when running in nodejs env.
60
+
// Note in test env, probably need to remove "modules": false from babelrc and "module": "esnext" from tsconfig.
61
+
// {value: 'jest', title: 'Jest', hint: 'Runs in Node.js, simulates browser natively, with a focus on simplicity.'},
62
+
// {value: 'ava', title: 'Ava + browser-env', hint: 'Runs in Node.js, simulates browser with browser-env (jsdom). A test runner for Node.js with a concise API, detailed error output, embrace of new language features and process isolation that let you write tests more effectively.'},
59
63
{value: 'jasmine',title: 'Jasmine',hint: 'Runs in browser, a behavior-driven testing framework.'},
60
64
{value: 'mocha',title: 'Mocha + Chai',hint: 'Runs in browser, a feature-rich JavaScript test framework for node and browsers.'},
61
65
{value: 'tape',title: 'Tape',hint: 'Runs in browser, tap-producing test harness for node and browsers.'},
62
-
{value: 'ava',title: 'Ava + browser-env',hint: 'Runs in Node.js, simulates browser with browser-env (jsdom). A test runner for Node.js with a concise API, detailed error output, embrace of new language features and process isolation that let you write tests more effectively.'},
63
66
{value: 'no-unit-tests',title: 'None',hint: 'Skip testing. My code is always perfect :-)'}
0 commit comments