~endlessm/jasmine-gjs/trunk

1
2
3
4
5
6
7
8
9
10
11
const Utils = imports.utils;

describe('Jasmine importer', function () {
    it('hides Jasmine modules from the test code', function () {
        expect(Object.keys(Utils)).not.toContain('indent');
    });

    it("lets test code import modules named the same as Jasmine's", function () {
        expect(Utils.add).toBeDefined();
    });
});