►
From YouTube: Tests for the browser
Description
No description was provided for this meeting.
If this is YOUR meeting, an easy way to fix this is to add a description to your video, wherever mtngs.io found it (probably YouTube).
A
B
B
You
a
few
different
things
to
the
test,
so
I
was
using
I
believe
it's
the
IPF
sjs
repo
module
as
the
example
of
the
web
test.
Yes,
I'll
go
ahead
and.
C
B
B
Just
look
at
the
file
directory
so
for
the
testing
on
list.
I,
of
course,
have
the
entry
points
on
the
Karma
conf
and
we're
just
talking
about
the
web
test.
The
other
tests
are
fine,
the
no
desire
not
test
okay.
So
we
have
our
karma
calm
and
then
here
is
my
karma
comp.
It's
pretty
bare
bones,
so
it's
got
the
preprocessed
for
on
the
test
folder.
So
it's
going
to
go
ahead
and
wet
pack,
everything
before
it
tries
the
test
threat.
B
It's
like
why,
right
here,
that
light,
will
kick
into
this
folder
and
bump
all
of
these
files
right
right,
okay
and
then
this
is
normal
stuff,
I'm,
not
sure.
If
you
want
to
explain
why
we
have
to
set
buffer
to
true
I'm
sure,
there's
some
shenanigans
going
on
with
environments
and
buffers
all.
A
Right
so,
but
buffer
true
just
means
them
so
that
buffer
should
be
shimmed
and
not
just
being
empty
object.
Sure
that
there
is
so
that
there's
actually
a
buffer
implementation,
because
the
browser
doesn't
bring
one
usually
so
if
you
so,
if
you
said
anything
on
the
node
to
true
that
means,
web
pack
will
eject
it.
So
Jim.
B
Using
buffers
over
the
place,
so
yes
exactly
and
then
for
loaders
to
use
some
JSON,
so
we
have
a
JSON
loader
as
well,
and
so,
if
you
look
into
the
index
here
for
importing
that's
actually
the
wrong
one.
You'll
notice
that
we
use
the
fs
module
as
well
I
do
some
like
that.
It's
in
two
tests,
okay,
so
the
test
file
itself.
It
tries
to
import
some
files
because
obviously
we're
testing
data
moving
around.
So
this
FS
not
exist
will
fail
correct.
B
A
Real
quick
and
then
run
the
test
and
there's
a
nature,
I'm
not
sure
which
methods
beerfest
all
is
able
to
figure
out.
Oh,
let
me
check.
Ok,
yeah!
So,
like
those
legend
exists,
actually
a
beerfest
doesn't
do
exists.
Ffs
according
to
the
readme,
does
read
finest
saying:
read:
file
reducing
and
reader,
so,
science
financially,
it
actually
will
just
not
work.
Oh.
B
Ok,
what
is
he
here
like
yeah
I
took
be
RFS
off
and
it
did
fail,
but
if
I
put
it
back
on,
it
doesn't
fail
right,
it
actually
tries
to
load-
and
this
is
the
main,
the
main
air
that
I
can't
figure
out.
It
seems
like
it
tries
to
do
everything
and
then
I
get.
This
cannot
read
property
apply
of
undefined,
not
sure
if
you
have
ever
seen
anything
like
that.
A
C
B
B
That's
that's
the.
B
So
I
am
I
mean
something
very
similar
to
the
Jays
Rico
browser
test
where
I
in
a
browser
her
file
here
and
then
we're
trying
to
dissect
this.
So
this
this
does
the
repo
test,
just
in
the
same
way
that
the
repo
does.
But
then
we
have
this
Const
for
tests,
context
and
I'm,
assuming
what
this
does
is
actually
roll
through
all
of
these
tiles
and
figure
out
the
ones
that
we
want
to
test
and
then
it
loads
them
somehow
this
is
actually
something
I
had
a
question
about
is:
is
how
this
this
line
here?
B
B
A
Lunch
again,
I
get
it
yeah,
that's
fine!
We
only
want
those
two
files,
fine
get
up.
That
would
work.
So
what
we'll
do
is
okay,
so
require
that
context
is
a
feature
of
web
pack
right,
don't
eat
only
what
Peggy
understands
that
and
it
will
pull
these
files
in
a
way
that
that
it
like
understands
them,
and
so
that
this
is
the
pilot,
actually
gets
loaded
right
and
this
file
like
loads
these
other
files
into
here,
and
so
you
get
this
one
big
file
right.
So
let
me
see.
B
D
B
B
A
A
So
I
guess
so
my
guess
at
the
moment
is
that
is
just
something
of
webpack
things
requiring
actually
failed.
B
D
D
D
A
A
B
A
A
A
D
B
A
A
A
A
A
A
So
what
happens
is
if
you
have
so
there
and
then
there
did
these
two
approaches
right
so
webpack
over
rights
require
and
brother
if
I
will
not
touch
require
in
that
sense
it
over
rights
or
more
correctly,
it
replaces
calls
like
effort,
read
file
if
you
use
a
transform
like
BFFs,
and
that
will
just
in
line
the
real
data
right.
So
it
will
literally
go
on
build
time.
A
It
will
read
out
the
data
if
you,
for
example,
use
the
wrong
order
which
just
takes
a
file
and
spits
out
the
text
version
of
it
and
will
in
line
more
or
less
the
content
of
that
file,
and
so,
if
you
have
so,
if
you
have,
for
example,
bar
my
file
equals
require
bra
my
file
or
txt,
you
will
end
up
with
some
whispered,
something
like
bar.
My
file
equals
string
the
content
of
your
file,
so
your
code
doesn't
care
because
it
actually
gets
the
file
content.
A
It
just
doesn't
interact
with
the
file
system
at
that
point.
So
so,
for
that
reason,
if
you
do
at
all,
all
of
these
browser
tests
can
use
the
fs
module
effectively.
So
you
need
to
have
alternatives.
The
easiest
way.
For
example,
if
you
look
at
the
test
for
JS
that
give
us
API
where
we
have
exact
same
issue,
we
want
to
lay
low
test
data
and
the
browser,
and
in
node
we
do
something
we
just
check
right.
So
let
me
pay
yeah
that
can
Beck
additional
right.
Like
is
we
really
just
do
checks?
A
A
Might
be
other
arrows
right,
but
those
are
the
things
that
I
see
that
definitely
will
there
I've
upward.
Okay,
if
I
mean
it
might
be
that
JSI
PFS
data
importing
I
have
looked
at
it
code
right,
so
it
might
be
that
there
is
something
this
is
doing
something
right.
So
it's
a
yellow
wood
right.
So,
if
I
go
into
the
source
file
up,
Jace
IPO
state
importing,
actually
right,
yeah
source
/
night
show.
Yes,
we
have
you,
you
calling
methods
like
episode
so
bad.
A
B
A
A
B
A
A
B
A
Best
off
they'd
write
something
needs
a
best
and
browser
you
use
buffer,
important
street
and
Porsche,
or
only
right.
Okay,
so
David
writes
in
IRC
that
we
would.
We
should
just
skip
yeah
that
makes
sense
violent,
different
directory
important.
We
can
just
skip
so
you
could
have
like
eltz
if
a
lot
is
node
by
learning,
try
right,
okay
and
yes,
so
the
phylum
porter
is
Hugh
the
directory
pointers
there.
We
we
put
and
use
those
so
looking
to
buffer
importer
top
looks
like
it
could
work.
A
A
Yet
yeah,
okay,
so
yeah
that
doesn't
work
in
theory.
So,
on
the
other
hand,
is
this
a
so
explain
the
nastier
as
you
getting
to
be
honest,
so
it
doesn't,
he
doesn't
really
explain
those
there
is
they
they
should.
It
should
say
something
like
FS
don't
create,
but
his
thoughts
tats
doesn't
exist
or
something
like
that.
It
shouldn't
throw.
Is
these
cryptic
arrows?
A
A
B
A
A
A
C
C
A
A
A
A
A
A
A
C
A
A
A
E
A
A
Alright,
let's
see
so
slaves
break
rise
again.
All
right
we
got
a
break
now
from
would
hang
itself
be
used
for
actually
oh
looks
like
something
in
your
right
all
right,
your
your
writable,
who
fermentation
seems
to
have
work,
I
think
it's
trying
to
call
underscore
right
and
you're
right
elimination
does
not
improvise
on
the
screen.
Right
right
provides
right.
This
least
one
of
us
vote
on
it.
So.
B
B
A
Sure
I
spear
152
to
equals
our
physics
well,
they're,
not
what
we
think
they
should
be,
let's
see
where
they
are.
Okay,
there's
subtle
as
well.
Now
that
that
looks
looks
actually
reasonable
that
that's
a
buffer,
yeah
yeah!
That's
right!
That's
right!
That's
just
the
last
one
that
we
got
there
right.
We
need
to
go.
D
A
A
So
why
is
this
giving
leave
this
thing
here
so
constructor?
Oh,
that's
far,
I
get
it
okay,
so
this
is
actually
doing
the
right
thing.
That's!
Okay!
It's
just
printing
out
everything
if
you
print
a
buffer
that
it
would
just
print
out
all
everything,
not
only
the
data
in
this
case.
So
this
is
all
well
okay,
so
we
get
the
buffer
and
it's
actually
it's
not
the
length
that
we
like
to
be
I.
D
A
A
A
B
Mmhmm
yeah
fish
slice
chunk
is
really
simple.
Now
the
buffer
is
a
greater
size
than
the
the
chunk
size
right.
So
we're
throwing
out
one
megabyte
buffer.
We
are
growing
out
and
met
one
mag
thing
right,
mm-hmm.
So
it's
going
to
hit
the
case
where
it,
where
I
did,
that
fix
where
the
size
and
the
buff
length
were
different
yeah.
B
A
A
A
A
Really
really
appreciate
it
out,
yes,
said
you
should
add
all
things,
but
I
can't
push
anywhere
well.
Let
me.
A
A
And
I
think
they
are
children
to
help
you
get
served
for
the
rest,
yeah
yeah,
very
nice.
So
the
other
trick
is
don't.
Oh,
we
can
actually,
but
where
you
can
support,
you
can
make
there's
lot
of
functions
anymore
and
yeah.
Oh
yeah.
The
trick
is
to-
and
you
have
to
make
sure
that
these
require
statements
are
our
North
dynamic.
They
need
to
be
static,
otherwise
wack
pack
is
not
able
to
penalize
them
properly.
So
you
can't
do
something
like
housing
strings,
few
dynamically
engineering,
okay
right
but
other
than
that.