Skip to content

Commit

Permalink
tweak initial install test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfriskics committed May 21, 2018
1 parent e192597 commit 30a81c5
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions test/unit/mocha/part1/vue-project-exists.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,8 @@ const path = require('path');
const assert = require('chai').assert;


describe('HelloWorld.vue', () => {
it('should exist and contain vue boilerplate code @vue-project-exists', () => {
try {
fs.readFileSync(path.join(process.cwd(), 'src/components/HelloWorld.vue'), 'utf8');
} catch (e) {
assert(false, 'The HelloWorld.vue file does not exist');
}

try {
fs.readFileSync(path.join(process.cwd(), 'static/books.json'), 'utf8');
} catch (e) {
assert(false, 'The books.json file does not exist in the static folder');
}

describe('Vue', () => {
it('library should exist @vue-project-exists', () => {
try {
fs.readFileSync(path.join(process.cwd(), 'node_modules/vue/README.md'), 'utf8');
} catch (e) {
Expand Down

0 comments on commit 30a81c5

Please sign in to comment.