Adding a stubbed out test
Removing old demo file and spec
This commit is contained in:
parent
abd8a52f6b
commit
c6f2271867
@ -1,13 +0,0 @@
|
|||||||
import * as demo from '../src/js/demo';
|
|
||||||
|
|
||||||
describe('Demo', () => {
|
|
||||||
|
|
||||||
it('returns 1 from test1', () => {
|
|
||||||
expect(demo.test1()).toEqual(1);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('returns "two" from test2', () => {
|
|
||||||
expect(demo.test2()).toEqual('two');
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
7
spec/parser/javascript_spec.js
Normal file
7
spec/parser/javascript_spec.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import parser from 'src/js/parser/javascript.peg';
|
||||||
|
|
||||||
|
describe('parser/javascript.peg', function() {
|
||||||
|
|
||||||
|
pending();
|
||||||
|
|
||||||
|
});
|
@ -1,7 +0,0 @@
|
|||||||
export function test1() {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function test2() {
|
|
||||||
return 'two';
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user