I am looking at this specific line of code to understand what it is or to find some documentation about it.
const Lucid = use('Lucid')
I am trying to write a test in adonisjs using mocha and it gives me the following error "ReferenceError: use is not defined"
The
use()
function is provided byadonis.js
.The adonis-lucid package has an example of how to create a model that looks identical to the code that you've linked in your question. Creating a model docs