refactor: 💡 Add channel ability for asciicasts (#174)
This commit is contained in:
1 parent
3bf2620b2c
commit
62ec3fe914
14 files changed
+1783
-860
No files matched your search
@@ -5,6 +5,7 @@
|
||||
|
||||
import { Factory } from 'miragejs';
|
||||
import { faker } from '@faker-js/faker';
|
||||
import { MIME_TYPE_ASCIICAST } from 'api/models/channel-recording';
|
||||
|
||||
/**
|
||||
* GeneratedChannelRecordingModelFactory
|
||||
@@ -20,5 +21,5 @@ export default Factory.extend({
|
||||
},
|
||||
end_time: () => faker.date.recent(),
|
||||
duration: () => `${faker.datatype.number()}s`,
|
||||
mime_types: () => ['application/x-asciicast'],
|
||||
mime_types: () => [MIME_TYPE_ASCIICAST],
|
||||
});
|
||||
Reference in new issue
Block a user