yeoman-assert icon indicating copy to clipboard operation
yeoman-assert copied to clipboard

Assert utility from yeoman

Results 8 yeoman-assert issues
Sort by recently updated
recently updated
newest added

Resolves #34 Plus I refactored in the separate commit tests, to be more resilient to similar errors.

Hello, objectContent, got **Cannot read property 'xxx' of undefined** on the line **[index.js:235:21](https://github.com/yeoman/yeoman-assert/blob/2457f60d82448a5ea40943fd7e36681a7987b0b2/index.js#L235)** It is because, the tested object is not having the nested structure, thus it should not be...

Bumps [eslint](https://github.com/eslint/eslint) from 3.19.0 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...

dependencies

I discovered with a test that failed on a build server and passed locally that the underlying fs.existsSync depends on the OS' case sensitivity. I know this project won't be...

Hello, I am new to unit testing but I want to check and make sure dependencies are being added properly by checking my `package.json`. I have this (coffeescript) code: ```coffeescript...

My test files is ``` describe('Package.json File', function () { before(function () { return yoTest .run(path.join(__dirname, '../../app')) .withPrompts({ integrations: ['coveralls'] }) .toPromise() }) it('With coveralls', function () { assert.equalsFileContent('package.json', fs.readFileSync(path.resolve(__dirname,...

Is there a way to do an assert.file() but check if only the files I specify are in the directory? As in, if any files I don't mention exist, fail...

question

I'm using yeoman-test and yeoman-assert in my project to generate a template for vue. I wanna install husky for the user and init it after install. My repo is here...