mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2 GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
This commit is contained in:
@@ -33,15 +33,15 @@ const joinProject = (user_id, project_id, callback) =>
|
||||
callback
|
||||
)
|
||||
|
||||
describe('ProjectFeatures', function() {
|
||||
beforeEach(function(done) {
|
||||
describe('ProjectFeatures', function () {
|
||||
beforeEach(function (done) {
|
||||
this.timeout(90000)
|
||||
this.owner = new User()
|
||||
return async.series([cb => this.owner.login(cb)], done)
|
||||
})
|
||||
|
||||
describe('with private project', function() {
|
||||
beforeEach(function(done) {
|
||||
describe('with private project', function () {
|
||||
beforeEach(function (done) {
|
||||
return this.owner.createProject(
|
||||
'private-project',
|
||||
(error, project_id) => {
|
||||
@@ -54,15 +54,15 @@ describe('ProjectFeatures', function() {
|
||||
)
|
||||
})
|
||||
|
||||
describe('with an upgraded account', function() {
|
||||
beforeEach(function(done) {
|
||||
describe('with an upgraded account', function () {
|
||||
beforeEach(function (done) {
|
||||
return this.owner.upgradeFeatures(done)
|
||||
})
|
||||
after(function(done) {
|
||||
after(function (done) {
|
||||
return this.owner.defaultFeatures(done)
|
||||
})
|
||||
|
||||
it('should have premium features', function(done) {
|
||||
it('should have premium features', function (done) {
|
||||
return joinProject(
|
||||
this.owner._id,
|
||||
this.project_id,
|
||||
@@ -77,15 +77,15 @@ describe('ProjectFeatures', function() {
|
||||
})
|
||||
})
|
||||
|
||||
describe('with an basic account', function() {
|
||||
beforeEach(function(done) {
|
||||
describe('with an basic account', function () {
|
||||
beforeEach(function (done) {
|
||||
return this.owner.downgradeFeatures(done)
|
||||
})
|
||||
after(function(done) {
|
||||
after(function (done) {
|
||||
return this.owner.defaultFeatures(done)
|
||||
})
|
||||
|
||||
it('should have basic features', function(done) {
|
||||
it('should have basic features', function (done) {
|
||||
return joinProject(
|
||||
this.owner._id,
|
||||
this.project_id,
|
||||
|
||||
Reference in New Issue
Block a user