# Create Unit Testing Script ```javascript= describe("Test Account API", () => { test("Test Register Account", async () => { try { var token = await getTokenId("fs.rofiq@gmail.com", "faiz070599"); // console.log(token); return request(app) .post("/v1/account/register") .set("authorization", `Bearer ${token}`) .expect(200) .then((response) => console.log(response.body)); } catch (error) { console.error(error); } }); }); ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up