Last active
March 24, 2021 09:15
-
-
Save fkromer/2145ba2bdd20880aac8280816cb1d24e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
import config from './../../config.json'; | |
+import { BlubDirective } from './blub.directive'; | |
// App Setup | |
@NgModule({ | |
- declarations: [AppComponent], | |
+ declarations: [AppComponent, BlubDirective], | |
entryComponents: [], | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BlubDirective } from './blub.directive'; | |
describe('BlubDirective', () => { | |
it('should create an instance', () => { | |
const directive = new BlubDirective(); | |
expect(directive).toBeTruthy(); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive } from '@angular/core'; | |
@Directive({ | |
selector: '[appBlub]' | |
}) | |
export class BlubDirective { | |
constructor() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment