Skip to content

Commit

Permalink
Small unit tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
szwacz committed May 29, 2021
1 parent f0d0538 commit 20aff6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"postinstall": "electron-builder install-app-deps",
"preunit": "webpack --config=build/webpack.unit.config.js --env=test",
"unit": "electron-mocha temp/specs.js --renderer --require source-map-support/register",
"unit": "electron-mocha temp/specs.js --renderer --color --require source-map-support/register",
"pree2e": "webpack --config=build/webpack.app.config.js --env=test && webpack --config=build/webpack.e2e.config.js --env=test",
"e2e": "mocha temp/e2e.js --require source-map-support/register",
"test": "npm run unit && npm run e2e",
Expand Down
6 changes: 0 additions & 6 deletions src/hello_world/hello_world.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,4 @@ describe("hello world", () => {
"Add here any environment specific stuff you like."
);
});

it("babel features should work", () => {
const a = { a: 1 };
const b = { ...a, b: 2 };
expect(b).to.eql({ a: 1, b: 2 });
});
});

0 comments on commit 20aff6c

Please sign in to comment.