Skip to content

Is it possible to use local js files in Bruno? #657

Closed Answered by helloanoop
iuri-aramos asked this question in Q&A
Discussion options

You must be logged in to vote

This is possible in Bruno :)
I think there is a typo. Your pre-request script should be more like

const helloWorld = require("./test");

helloWorld();

You can also checkout #385 for some script inspirations.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by iuri-aramos
Comment options

You must be logged in to vote
1 reply
@helloanoop
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants