Skip to content

Commit

Permalink
Merge c18771b into 8092de4
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 11, 2020
2 parents 8092de4 + c18771b commit 51c88c0
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 28 deletions.
62 changes: 35 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -65,6 +65,7 @@
"error": "^7.0.2",
"find-up": "^3.0.0",
"github-username": "^3.0.0",
"grouped-queue": "^1.0.0",
"istextorbinary": "^2.5.1",
"lodash": "^4.17.11",
"make-dir": "^3.0.0",
Expand All @@ -78,7 +79,7 @@
"shelljs": "^0.8.3",
"text-table": "^0.2.0",
"through2": "^3.0.1",
"yeoman-environment": "^2.3.4"
"yeoman-environment": "^2.8.1"
},
"lint-staged": {
"*.js": [
Expand Down
7 changes: 7 additions & 0 deletions test/base.js
Expand Up @@ -1339,6 +1339,8 @@ describe('Base', () => {

describe('Custom priorities', () => {
beforeEach(function() {
this.addSubQueue = this.env.runLoop.addSubQueue;
delete this.env.runLoop.addSubQueue;
this.TestGenerator = class extends Base {
constructor(args, options) {
super(args, {
Expand Down Expand Up @@ -1374,6 +1376,11 @@ describe('Base', () => {
};
});

beforeEach(function() {
this.env.runLoop.addSubQueue = this.addSubQueue;
delete this.addSubQueue;
});

it('generates correct _queues and runLoop queueNames', function() {
_.extend(this.TestGenerator.prototype, {
assert: function() {
Expand Down

0 comments on commit 51c88c0

Please sign in to comment.