Skip to content

Commit

Permalink
Finalized tutorial 9
Browse files Browse the repository at this point in the history
  • Loading branch information
untio11 committed Nov 23, 2023
1 parent 748978d commit 424e44c
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 98 deletions.
4 changes: 2 additions & 2 deletions tutorial/2 - deriving.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const __YOUR_TURN__ = {} as any;
*
* There are a couple of ways to do this.
*/
describe('deriving', () => {
describe.skip('deriving', () => {
/**
* In the 'intro' we have created a derivable by using the `.derive()` method.
* This method allows the state of that `Derivable` to be used to create a
Expand All @@ -37,7 +37,7 @@ describe('deriving', () => {
*/

// We can combine txt with `repeat$.get()` here.
const lyric$ = text$.derive(txt => txt /* __YOUR_TURN__ */ );
const lyric$ = text$.derive(txt => txt /* __YOUR_TURN__ */);

expect(lyric$.get()).toEqual(`It won't be long`);

Expand Down
2 changes: 1 addition & 1 deletion tutorial/3 - reacting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const __YOUR_TURN__ = {} as any;
* In the intro we have seen a basic usage of the `.react()` method.
* Let's dive a bit deeper into the details of this method.
*/
describe('reacting', () => {
describe.skip('reacting', () => {
// For easy testing we can count the number of times a reactor was called,
let wasCalledTimes: number;
// and record the last value it reacted to.
Expand Down
1 change: 0 additions & 1 deletion tutorial/4 - inner workings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const __YOUR_TURN__ = {} as any;
* Time to dive a bit deeper into the inner workings of `@skunkteam/sherlock`.
*/
describe.skip('inner workings', () => {
describe('inner workings', () => {
/**
* What if there is a derivation that reads from one of two `Derivable`s
* dynamically? Will both of those `Derivable`s be tracked for changes?
Expand Down
Loading

0 comments on commit 424e44c

Please sign in to comment.