Skip to content
⌘K
Explore
Download
Docs
Sign in
Sign up
flagon-io
/
automation-lab
public
Star
0
Overview
Code
Issues
1
Pull requests
Workflows
Deployments
Insights
Files
Commits
Branches
Tags
Releases
Compare
ca04be33bb5e8407c1ec33e0091172e1b66666a6
automation-lab
/
test.js
6 lines
208 bytes
Code
Blame
Raw
1
const
assert
=
require
(
"
node:assert
"
);
2
const
math
=
require
(
"
./math
"
);
3
4
assert
.
strictEqual
(
math
.
add
(
2
,
3
),
5
);
5
if
(
math
.
multiply
)
assert
.
strictEqual
(
math
.
multiply
(
4
,
5
),
20
);
6
console
.
log
(
"
all tests passed
"
);