Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests and github workflow #201

Open
lazywithclass opened this issue Aug 15, 2022 · 0 comments
Open

Fix tests and github workflow #201

lazywithclass opened this issue Aug 15, 2022 · 0 comments

Comments

@lazywithclass
Copy link
Owner

Make test returns the following error and github workflow seems like it never worked properly

$ make test                                                                                                                                               22:14:22 15/08/2022
./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test -- --recursive --require should -R dot

ReferenceError: navigator is not defined
    at Object.<anonymous> (/home/lazywithclass/workspace/winston-cloudwatch/test/aws/dist/docutils/writers/s5_html/themes/default/slides.js:18:12)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Object.Module._extensions.<computed> [as .js] (/home/lazywithclass/workspace/winston-cloudwatch/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:170:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
    at async formattedImport (/home/lazywithclass/workspace/winston-cloudwatch/node_modules/mocha/lib/nodejs/esm-utils.js:7:14)
    at async Object.exports.requireOrImport (/home/lazywithclass/workspace/winston-cloudwatch/node_modules/mocha/lib/nodejs/esm-utils.js:48:32)
    at async Object.exports.loadFilesAsync (/home/lazywithclass/workspace/winston-cloudwatch/node_modules/mocha/lib/nodejs/esm-utils.js:103:20)
    at async singleRun (/home/lazywithclass/workspace/winston-cloudwatch/node_modules/mocha/lib/cli/run-helpers.js:125:3)
    at async Object.exports.handler (/home/lazywithclass/workspace/winston-cloudwatch/node_modules/mocha/lib/cli/run.js:374:5)
No coverage information was collected, exit without writing coverage information
make: *** [Makefile:13: test] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant