Replacing export default by module.exports

This commit is contained in:
Belen Curcio
2016-12-19 14:34:26 -03:00
parent 2d9ee1d9d7
commit 374de3cd27
14 changed files with 13 additions and 23 deletions
-10
View File
@@ -4,16 +4,6 @@
"node": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"sourceType": "module"
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"indent": ["error",
2
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
waitForConditionTimeout: 8000,
baseUrl: 'http://localhost:3000',
users: {
+1 -1
View File
@@ -14,7 +14,7 @@ const embedStreamCommands = {
}
};
export default {
module.exports = {
commands: [embedStreamCommands],
elements: {
commentList: {
+1 -1
View File
@@ -75,7 +75,7 @@ const embedStreamCommands = {
}
};
export default {
module.exports = {
commands: [embedStreamCommands],
elements: {
signInButton: {
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['app'],
'Base url and Hostname': browser => {
const {baseUrl} = browser.globals;
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['embedStream'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['login', 'admin'],
before(client) {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['flag', 'comments', 'commenter'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['flag', 'commenter'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,6 +1,6 @@
let permalink = '';
export default {
module.exports = {
'@tags': ['permalink', 'commenter'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['login', 'moderator'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['flag', 'comments', 'visitor'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['like', 'comments', 'visitor'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
+1 -1
View File
@@ -1,4 +1,4 @@
export default {
module.exports = {
'@tags': ['signup', 'visitor'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();