@revoloo/cypress6
Version:
Cypress.io end to end testing tool
27 lines (21 loc) • 373 B
JavaScript
const es2015Export = {
es2015Key: 'es2015Value',
}
class SampleClass {
static staticProp = 'staticProp'
prop = 'prop'
}
const returnsPromise = () => {
return new Promise((resolve) => {
resolve('value')
})
}
const asyncFn = async () => {
const value = await returnsPromise()
return value
}
export default {
es2015Export,
SampleClass,
asyncFn,
}