Skip to content

Commit 131ad03

Browse files
update test
1 parent 6d45fad commit 131ad03

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ctx.test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ describe('constructor :', () => {
2222
});
2323
test('check _parentTemp property', () => {
2424
const ins = new Ctx();
25-
expect(ins._parentTemp).toBe(`"use strict";return @temp;`);
26-
});
27-
test('check _babelpresets property', () => {
28-
const ins = new Ctx();
29-
expect(ins._babelpresets).toEqual(['react']);
25+
expect(ins._parentTemp).toBe(`"use strict";\nreturn @temp;`);
3026
});
3127
});
3228
describe('methods : ', () => {

0 commit comments

Comments
 (0)