mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
8452e8b777
* Fixed duplication kve bug * Some changes * Add proptypes linting * Fixed proptypes even more * Filename linting
13 lines
231 B
JavaScript
13 lines
231 B
JavaScript
import BaseExtension from './base/base-extension';
|
|
|
|
export default class TimestampExtension extends BaseExtension {
|
|
constructor () {
|
|
super();
|
|
this.tags = ['timestamp'];
|
|
}
|
|
|
|
run (context) {
|
|
return Date.now();
|
|
}
|
|
}
|