Lines Matching refs:code

433     t.equal(process.exitCode, 1, 'should exit with error code 1')
564 t.equal(err.code, 'ELSPROBLEMS', 'should have error code')
597 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'should have error code')
810 await t.rejects(ls.exec([]), { code: 'EJSONPARSE' }, 'should throw EJSONPARSE error')
919 { code: 'ELSPROBLEMS', message: /missing: b@\^1.0.0/ },
943 { code: 'ELSPROBLEMS', message: 'missing: peer-dep@*, required by test-npm-ls@1.0.0' },
978 { code: 'ELSPROBLEMS', message: /invalid: optional-dep@1.0.0/ },
2010 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'should list dep problems')
2190 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'should list dep problems')
2283 await t.rejects(ls.exec([]), { code: 'EJSONPARSE' }, 'should throw EJSONPARSE error')
2359 { code: 'ELSPROBLEMS', message: /invalid: optional-dep@1.0.0/ },
2654 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' })
2908 t.equal(err.code, 'ELSPROBLEMS', 'should have ELSPROBLEMS error code')
2953 t.not(process.exitCode, 1, 'should not exit with error code 1')
3077 t.equal(process.exitCode, 1, 'should exit with error code 1')
3222 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'should list dep problems')
3263 code: 'ELSPROBLEMS',
3862 { code: 'EJSONPARSE', message: 'Failed to parse root package.json' },
3873 code: 'EJSONPARSE',
3917 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'Should have ELSPROBLEMS error code')
3971 code: 'ELSPROBLEMS',
4009 { code: 'ELSPROBLEMS', message: /invalid: optional-dep@1.0.0/ },
4067 code: 'ELSPROBLEMS',
4468 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'should list dep problems')
4694 t.notOk(process.exitCode, 'should not set exit code')
4863 t.equal(process.exitCode, 1, 'should exit with error code 1')
5072 await t.rejects(ls.exec([]), { code: 'ELSPROBLEMS' }, 'should list dep problems')
5104 code: 'ELSPROBLEMS',