Skip to content

Commit

Permalink
chore: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
alber70g committed Jun 24, 2021
1 parent 8d461f9 commit a65387e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 2 additions & 2 deletions src/collection.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "../node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"senses-upgrades": {
"refactor-test-schematics": {
"description": "A blank schematic.",
"factory": "./senses-upgrades/index#sensesUpgrades"
"factory": "./refactor-test-schematics/index#sensesUpgrades"
}
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import * as path from 'path';
const collectionPath = path.join(__dirname, '../collection.json');


describe('senses-upgrades', () => {
describe('refactor-test-schematics', () => {
it('works', async () => {
const runner = new SchematicTestRunner('schematics', collectionPath);
const tree = await runner.runSchematicAsync('senses-upgrades', {}, Tree.empty()).toPromise();
const tree = await runner.runSchematicAsync('refactor-test-schematics', {}, Tree.empty()).toPromise();

expect(tree.files).toEqual([]);
});
Expand Down

0 comments on commit a65387e

Please sign in to comment.