UNPKG
sambac-webpack
Version:
latest (2.3.2)
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.1
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
Run your jasmine specs in the browser
github.com/acaides/sambac
acaides/sambac
sambac-webpack
/
example
/
src
/
example-spec.js
11 lines
(9 loc)
•
225 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
magic
from
'./example.js'
;
describe
(
'magic'
,
function
(
){
it
(
'doubles even numbers'
,
function
(
){
expect
(
magic
(
10
)).
toBe
(
20
); });
it
(
'squares odd numbers'
,
function
(
){
expect
(
magic
(
9
)).
toBe
(
81
); }); });