try fixing tests in ci #566
ci.yaml
on: push
Annotations
6 errors
test/getInstalledVersionPackageJson.test.ts > get the version of npm package installed from package.json > should return the version of package installed:
test/getInstalledVersionPackageJson.test.ts#L11
AssertionError: expected { name: 'js-yaml', …(15) } to strictly equal { version: '3.13.1' }
- Expected
+ Received
Object {
- "version": "3.13.1",
+ "author": "Vladimir Zapparov <dervus.grim@gmail.com>",
+ "bin": Object {
+ "js-yaml": "bin/js-yaml.js",
+ },
+ "contributors": Array [
+ "Aleksey V Zapparov <ixti@member.fsf.org> (http://www.ixti.net/)",
+ "Vitaly Puzrin <vitaly@rcdesign.ru> (https://github.com/puzrin)",
+ "Martin Grenfell <martin.grenfell@gmail.com> (http://got-ravings.blogspot.com)",
+ ],
+ "dependencies": Object {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0",
+ },
+ "description": "YAML 1.2 parser and serializer",
+ "devDependencies": Object {
+ "ansi": "^0.3.1",
+ "benchmark": "^2.1.4",
+ "browserify": "^16.2.2",
+ "codemirror": "^5.13.4",
+ "eslint": "^7.0.0",
+ "fast-check": "^1.24.2",
+ "istanbul": "^0.4.5",
+ "mocha": "^7.1.2",
+ "uglify-js": "^3.0.1",
+ },
+ "files": Array [
+ "index.js",
+ "lib/",
+ "bin/",
+ "dist/",
+ ],
+ "homepage": "https://github.com/nodeca/js-yaml",
+ "jsdelivr": "dist/js-yaml.min.js",
+ "keywords": Array [
+ "yaml",
+ "parser",
+ "serializer",
+ "pyyaml",
+ ],
+ "license": "MIT",
+ "name": "js-yaml",
+ "repository": "nodeca/js-yaml",
+ "scripts": Object {
+ "test": "make test",
+ },
+ "unpkg": "dist/js-yaml.min.js",
+ "version": "3.14.1",
}
❯ test/getInstalledVersionPackageJson.test.ts:11:87
|
test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts > resolve node module to deno-module > should resolve js-yaml package to deno module:
test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts#L43
AssertionError: expected 'https://deno.land/x/js_yaml_port@3.14…' to be 'https://deno.land/x/js_yaml_port@3.13…' // Object.is equality
Expected: "https://deno.land/x/js_yaml_port@3.13.1/js-yaml.js"
Received: "https://deno.land/x/js_yaml_port@3.14.0/js-yaml.js"
❯ test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts:43:73
|
test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts > resolve node module to deno-module > should fail to resolve invalid js-yaml package to deno module:
test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts#L77
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts:77:11
|
test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts > resolve node module to deno-module > should resolve valid ts-md5 package to deno module:
src/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.ts#L123
Error: process.exit unexpectedly called with "-1"
❯ src/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.ts:123:21
❯ src/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.ts:115:13
❯ callee src/tools/addCache.ts:26:33
❯ test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts:95:50
|
test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts > resolve node module to deno-module > should resolve valid ts-md5 package to deno module:
src/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.ts#L123
Error: process.exit unexpectedly called with "-1"
❯ src/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.ts:123:21
❯ src/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.ts:115:13
❯ callee src/tools/addCache.ts:26:33
❯ test/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.test.ts:126:50
|
test
Process completed with exit code 1.
|