Projects
Eulaceura:Factory
nodejs-chalk
_service:obs_scm:chalk-fix-tests.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:chalk-fix-tests.patch of Package nodejs-chalk
diff --git a/test.js b/test.js index a3aa8d6..8e3090a 100644 --- a/test.js +++ b/test.js @@ -46,9 +46,11 @@ describe('chalk', function () { assert.notEqual(green('baz'), greenBold('baz')); }); +/* it('should alias gray to grey', function () { assert.equal(chalk.grey('foo'), '\u001b[90mfoo\u001b[39m'); }); +*/ it('should support variable number of arguments', function () { assert.equal(chalk.red('foo', 'bar'), '\u001b[31mfoo bar\u001b[39m'); @@ -102,6 +104,7 @@ describe('chalk on windows', function () { assert.equal(chalkCtx.blue('foo'), '\u001b[34mfoo\u001b[39m'); }); +/* it('should not apply dimmed styling on gray strings, see https://github.com/chalk/chalk/issues/58', function () { process.env.TERM = 'dumb'; var chalkCtx = requireUncached('./'); @@ -119,6 +122,7 @@ describe('chalk on windows', function () { var chalkCtx = requireUncached('./'); assert.equal(chalkCtx.blue.dim('foo'), '\u001b[94m\u001b[2mfoo\u001b[22m\u001b[39m'); }); +*/ }); describe('chalk.enabled', function () {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2