Permalink
Browse files

Updated karma config and first test

  • Loading branch information...
1 parent 3576ff9 commit 5c2069ab7afaf8d61d861429949dbd4e44255594 @JonHMChan committed Jul 19, 2016
Showing with 5 additions and 3 deletions.
  1. +3 −1 my.conf.js → karma.conf.js
  2. +2 −2 tests/core.test.js
@@ -15,7 +15,9 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files: [
- 'dist/*.js, tests/*.js'
+ 'dist/descartes.js',
+ 'dist/plato.js',
+ 'tests/*.js'
],
View
@@ -1,7 +1,7 @@
describe('Core', function() {
- var d = Descartes({})
+ var d = new Descartes({})
it('Empty style tree should contain no mapping', function() {
- expect(d.mapping).toBe({});
+ expect(d.mappings).toEqual({});
});
});

0 comments on commit 5c2069a

Please sign in to comment.