Skip to content

Commit

Permalink
fix(core): correct order of readers
Browse files Browse the repository at this point in the history
  • Loading branch information
Igmat committed May 3, 2018
1 parent 4fa2d24 commit b6c6777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/baset-core/src/testGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class TestGroup {
private getCompiler = () => {
const hooks = this.getHooks();
const resolvers = this.getResolvers();
this.readerChain.reverse().forEach(reader => reader.registerHook(hooks.addHook, resolvers.addResolver));
[...this.readerChain].reverse().forEach(reader => reader.registerHook(hooks.addHook, resolvers.addResolver));

return {
compile: (code: string, filename: string) =>
Expand Down

0 comments on commit b6c6777

Please sign in to comment.