Skip to content

Commit

Permalink
Updated karma config and first test
Browse files Browse the repository at this point in the history
  • Loading branch information
JonHMChan committed Jul 19, 2016
1 parent 3576ff9 commit 5c2069a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion my.conf.js → karma.conf.js
Expand Up @@ -15,7 +15,9 @@ module.exports = function(config) {


// list of files / patterns to load in the browser // list of files / patterns to load in the browser
files: [ files: [
'dist/*.js, tests/*.js' 'dist/descartes.js',
'dist/plato.js',
'tests/*.js'
], ],




Expand Down
4 changes: 2 additions & 2 deletions tests/core.test.js
@@ -1,7 +1,7 @@
describe('Core', function() { describe('Core', function() {
var d = Descartes({}) var d = new Descartes({})


it('Empty style tree should contain no mapping', function() { 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.