Created
February 7, 2021 18:13
-
-
Save dualyticalchemy/8b63e930afc7c26a734752e2f8b56340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const load = async (context, platformPath) => { | |
const path = require('path'); | |
cy.load('context: ', context); | |
cy.load('platformPath: ', platformPath); | |
return await cy.readFile(path.resolve(context, platformPath)); | |
}; | |
module.exports = { | |
load | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment