diff --git a/.sail.yml b/.sail.yml index 965012f..1a18715 100644 --- a/.sail.yml +++ b/.sail.yml @@ -1,13 +1,14 @@ tasks: build: - image: node:carbon + image: node:10 command: - npm args: - install test: - image: node:carbon + image: node:10 command: - - yarn + - npm args: - - test + - run + - test:mocha diff --git a/package.json b/package.json index a3d4fb1..ef741da 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-cheer", "displayName": "Cheer", "description": "Have your editor cheer you on while you code!", - "version": "0.0.1", + "version": "1.0.0", "engines": { "vscode": "^1.29.0" }, @@ -34,7 +34,8 @@ }, "scripts": { "postinstall": "node ./node_modules/vscode/bin/install", - "test": "node ./node_modules/vscode/bin/test" + "test": "node ./node_modules/vscode/bin/test", + "test:mocha": "mocha -u tdd ./test/messages.test.js" }, "publisher": "puregarlic", "author": {