mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 16:19:02 +02:00
Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2 GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
This commit is contained in:
@@ -3,10 +3,10 @@ const async = require('async')
|
||||
const User = require('./helpers/User')
|
||||
const Subscription = require('./helpers/Subscription')
|
||||
|
||||
describe('Subscriptions', function() {
|
||||
describe('features', function() {
|
||||
describe('individual subscriptions', function() {
|
||||
beforeEach(function(done) {
|
||||
describe('Subscriptions', function () {
|
||||
describe('features', function () {
|
||||
describe('individual subscriptions', function () {
|
||||
beforeEach(function (done) {
|
||||
this.adminUser = new User()
|
||||
async.series(
|
||||
[
|
||||
@@ -25,7 +25,7 @@ describe('Subscriptions', function() {
|
||||
)
|
||||
})
|
||||
|
||||
it('should give features to admin', function(done) {
|
||||
it('should give features to admin', function (done) {
|
||||
this.adminUser.getFeatures((error, features) => {
|
||||
expect(features.collaborators).to.equal(-1)
|
||||
done(error)
|
||||
@@ -33,8 +33,8 @@ describe('Subscriptions', function() {
|
||||
})
|
||||
})
|
||||
|
||||
describe('group subscriptions', function() {
|
||||
beforeEach(function(done) {
|
||||
describe('group subscriptions', function () {
|
||||
beforeEach(function (done) {
|
||||
this.adminUser = new User()
|
||||
this.memberUser = new User()
|
||||
async.series(
|
||||
@@ -56,14 +56,14 @@ describe('Subscriptions', function() {
|
||||
)
|
||||
})
|
||||
|
||||
it('should give features to member', function(done) {
|
||||
it('should give features to member', function (done) {
|
||||
this.memberUser.getFeatures((error, features) => {
|
||||
expect(features.collaborators).to.equal(-1)
|
||||
done(error)
|
||||
})
|
||||
})
|
||||
|
||||
it('should not give features to admin', function(done) {
|
||||
it('should not give features to admin', function (done) {
|
||||
this.adminUser.getFeatures((error, features) => {
|
||||
expect(features.collaborators).to.equal(1)
|
||||
done(error)
|
||||
|
||||
Reference in New Issue
Block a user