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