If you init a project without Typescript, it is very likely you won't have / configure a tsconfig.json. The default config does not have "allowJs": true set, so it will fail. To alleviate the issue, I had to make a tsconfig.json including it such as below. It still does appear to run though?
You can produce by removing the bigtest.tsconfig.json, updating bigtest.json to remove that reference, and running the tests. (Note you need to yarn ntl build and npx serve public for the test.)
error
❯ yarn test
yarn run v1.22.10
$ bigtest ci -c bigtest.ci.json
[orchestrator] starting
[app] successfully connected to application!
rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.
[connection] connected chrome.headless
[orchestrator] running!
[orchestrator] launch agents via: http://localhost:24001/__bigtest/index.html?connectTo=ws%3A%2F%2Flocalhost%3A24003
[orchestrator] show GraphQL dashboard via: http://localhost:28000
[manifest builder] build successful!
✓✓✓✓✓✓✓✓✓✓✓✓✓✓
────────────────────────────────────────────────────────────────────────────────
chrome.headless
Steps: 6 ok, 0 failed, 0 disregarded
Assertions: 8 ok, 0 failed, 0 disregarded
────────────────────────────────────────────────────────────────────────────────
✓ SUCCESS
[orchestrator] shutting down!
✨ Done in 10.55s.
created config
{
"compilerOptions": {
"allowJs": true,
"skipLibCheck": true,
"target": "es6",
"lib": ["esnext", "dom"]
}
}
If you init a project without Typescript, it is very likely you won't have / configure a
tsconfig.json. The default config does not have"allowJs": trueset, so it will fail. To alleviate the issue, I had to make a tsconfig.json including it such as below. It still does appear to run though?You can produce by removing the
bigtest.tsconfig.json, updatingbigtest.jsonto remove that reference, and running the tests. (Note you need toyarn ntl buildandnpx serve publicfor the test.)error
created config
{ "compilerOptions": { "allowJs": true, "skipLibCheck": true, "target": "es6", "lib": ["esnext", "dom"] } }